summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant>2003-09-18 23:42:24 +0000
committergrant <grant>2003-09-18 23:42:24 +0000
commitc86330f3e5c2ac6afe4c33111d5670e8b5b42139 (patch)
tree001a28be93b1eed6988da70ea3156543a141818e /pkgtools
parenta43ba5e4a3108fb94ee99b0bb00b5fd161cc6fac (diff)
downloadpkgsrc-c86330f3e5c2ac6afe4c33111d5670e8b5b42139.tar.gz
ensure CC is set correctly when running configure in libnbcompat.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index d65bbbd1eaa..7c45a0fd33c 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2003/09/14 15:29:03 jlam Exp $
+# $NetBSD: Makefile,v 1.85 2003/09/18 23:42:24 grant Exp $
# Notes to package maintainers:
#
@@ -49,7 +49,8 @@ do-extract:
@${CP} -Rp ${FILESDIR} ${WRKSRC}
pre-configure:
- cd ${LIBNBCOMPAT_SRCDIR} && ./configure && ${MAKE_PROGRAM}
+ cd ${LIBNBCOMPAT_SRCDIR} && ${SETENV} CC="${CC}" ./configure && \
+ ${MAKE_PROGRAM}
post-install:
if [ ! -f ${PKG_DBDIR}/pkgdb.byfile.db ]; then \