summaryrefslogtreecommitdiff
path: root/mk/buildhlp.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
commit444176e8aa3a958f147f15542793678b619be262 (patch)
tree3bae8dc0b3fd98ebffc239c6f4d0bb2e7604d957 /mk/buildhlp.mk
parent05abc676e9272fdf933e0ea376bb12d8ec497467 (diff)
fix host build stuff and update-patches, convert cifs-utils and libaudiofile to new autotool infrastructure
Diffstat (limited to 'mk/buildhlp.mk')
-rw-r--r--mk/buildhlp.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 19b761f46..8b6a4a8c8 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -93,13 +93,17 @@ ifeq ($(strip ${_IN_PACKAGE})$(strip ${_IN_CVTC}),1)
else
@$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PREVENT_PATCH=: NO_CHECKSUM=1
endif
+ @-test -r ${WRKDIR}/.autoreconf_done && \
+ (cd ${WRKDIR}.orig/${PKG_NAME}-${PKG_VERSION}; \
+ env ${AUTOTOOL_ENV} autoreconf -if)
+ @rm -rf ${WRKDIR}.orig/${PKG_NAME}-${PKG_VERSION}/autom4te.cache
@# restore config.sub/config.guess
- @for i in $$(find ${WRKDIR} -name config.sub);do \
+ @for i in $$(find ${WRKDIR}.orig -name config.sub);do \
if [ -f $$i.bak ];then \
mv $$i.bak $$i; \
fi;\
done
- @for i in $$(find ${WRKDIR} -name config.guess);do \
+ @for i in $$(find ${WRKDIR}.orig -name config.guess);do \
if [ -f $$i.bak ];then \
mv $$i.bak $$i; \
fi;\