summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-22 17:46:05 +0000
committertv <tv@pkgsrc.org>2004-04-22 17:46:05 +0000
commit937e7dd8586042ff1da8c26a9c52b29d049b9c4b (patch)
tree95918867bcec15ce1f1c8053a30c75d55eb606fe /mk
parenta6e4fd78ea7fd7b1fc8ffe33a79f564088d6c12b (diff)
downloadpkgsrc-937e7dd8586042ff1da8c26a9c52b29d049b9c4b.tar.gz
Automake has done it again with this amazing variable that CONFIGURE_ENV
can't change at configure time. "mkdir_p" is now used by automake in place of the traditional autoconf "INSTALL_DIR". Override mkdir_p in MAKE_FLAGS, if GNU_CONFIGURE is set, with ${INSTALL_DATA_DIR}.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ad984a0c259..d5ceec26233 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1445 2004/04/17 22:37:14 minskim Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1446 2004/04/22 17:46:05 tv Exp $
#
# This file is in the public domain.
#
@@ -371,6 +371,7 @@ CPPFLAGS+= ${CPP_PRECOMP_FLAGS}
CONFIGURE_ENV+= LIBS="${LIBS}"
CONFIG_SHELL?= ${SH}
CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}
+MAKE_FLAGS+= mkdir_p="${INSTALL_DATA_DIR}"
.endif
.if defined(_OPSYS_LIBTOOL_REQD)