summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/buildhlp.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 79014ac4b..587a97125 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -96,8 +96,8 @@ endif
@-test ! -r ${WRKDIR}/.autoreconf_done || \
(wrkdist=$(WRKDIST) dir=$${wrkdist#$(WRKDIR)}; \
cd ${WRKDIR}.orig$${dir}; \
- env ${AUTOTOOL_ENV} autoreconf -if) $(MAKE_TRACE)
- @rm -rf ${WRKDIR}.orig/${PKG_NAME}-${PKG_VERSION}/autom4te.cache
+ env ${AUTOTOOL_ENV} autoreconf -if; \
+ rm -rf ${WRKDIR}.orig$${dir}/autom4te.cache ) $(MAKE_TRACE)
@# restore config.sub/config.guess
@for i in $$(find ${WRKDIR} -name config.sub);do \
if [ -f $$i.bak ];then \