summaryrefslogtreecommitdiff
path: root/mk/pkg-bottom.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-09 11:24:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-09 11:24:31 +0100
commitc5eedebec9a31762dd50409c36ea2e1163b339fe (patch)
treefffc05c75b7d5bcf93f05ee305cfcdf7a1ddf165 /mk/pkg-bottom.mk
parent14443d9ed7d0bc0ab87274f9f0f0d2d4c1b6f161 (diff)
use WRKSRC, not WRKBUILD for config.{sub,guess} patching. fixes libdb build for musl
Diffstat (limited to 'mk/pkg-bottom.mk')
-rw-r--r--mk/pkg-bottom.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 66feea33c..3d70120d1 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -38,7 +38,7 @@ ifneq ($(filter manual,${CONFIG_STYLE}),)
env ${CONFIGURE_ENV} ${MAKE} do-configure $(MAKE_TRACE)
else ifneq ($(filter minimal,${CONFIG_STYLE}),)
@$(CMD_TRACE) "configuring... "
- @cd ${WRKBUILD}; \
+ @cd ${WRKSRC}; \
for i in $$(find . -name config.sub);do \
if [ -f $$i ]; then \
${CP} $$i $$i.bak; \
@@ -57,7 +57,7 @@ else ifneq ($(filter minimal,${CONFIG_STYLE}),)
${CONFIGURE_ARGS} $(MAKE_TRACE)
else ifeq ($(strip ${CONFIG_STYLE}),)
@$(CMD_TRACE) "configuring... "
- @cd ${WRKBUILD}; \
+ @cd ${WRKSRC}; \
for i in $$(find . -name config.sub);do \
if [ -f $$i ]; then \
${CP} $$i $$i.bak; \