summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-09-18 23:42:24 +0000
committergrant <grant@pkgsrc.org>2003-09-18 23:42:24 +0000
commitc13bb2d3a7999444f9108c297baa45217fd64a4a (patch)
tree001a28be93b1eed6988da70ea3156543a141818e /pkgtools
parent431d7280692b03d84463eb8de9b2066c78f91c9e (diff)
downloadpkgsrc-c13bb2d3a7999444f9108c297baa45217fd64a4a.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 \