summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-03-10 18:31:02 +0000
committertron <tron@pkgsrc.org>1999-03-10 18:31:02 +0000
commit0c766cf685387bc091404a4c52aa4f749ce9693b (patch)
tree20b535a038d1b784aaeb97f8fafc1b9c6f4fe6f6
parentab18d02277ba657ba796cc7d3eac19f0fc3239f1 (diff)
downloadpkgsrc-0c766cf685387bc091404a4c52aa4f749ce9693b.tar.gz
If "GNU_CONFIGURE" is set to "yes" supply "${INSTALL}" with full pathname
again because "configure" will create bogus makefiles otherwise.
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 629f8b66f9a..e26d38d96af 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.224 1999/03/09 16:39:56 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.225 1999/03/10 18:31:02 tron Exp $
#
# This file is in the public domain.
#
@@ -1086,7 +1086,7 @@ do-configure:
.if defined(HAS_CONFIGURE)
${_PKG_SILENT}(${_PKG_DEBUG}cd ${WRKSRC} && ${SETENV} CC="${CC}" ac_cv_path_CC="${CC}" \
CFLAGS="${CFLAGS}" \
- INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \
+ INSTALL="`type ${INSTALL} | ${AWK} '{print($$3)}'` -c -o ${BINOWN} -g ${BINGRP}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
.endif