summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-09 06:21:24 +0000
committerjlam <jlam@pkgsrc.org>2004-08-09 06:21:24 +0000
commite6bafe519e026248a9cc9755669d47fc56cbc90b (patch)
treed3ed185a25ac4137a8f35d144bd12e96be495d24 /pkgtools
parentd4babf260a36336d6ef5d92a0a35bcf2a1c6d38d (diff)
downloadpkgsrc-e6bafe519e026248a9cc9755669d47fc56cbc90b.tar.gz
Mimic how bsd.pkg.mk calls the GNU configure script in do-configure when
configuring libnbcompat. This adds more things to the environment, e.g. AWK, CFLAGS, CPPFLAGS, etc. This should fix problems building on IRIX 5.3 where the system nawk wasn't being properly found.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index ac4d7907ca4..3da68bdccc4 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2004/04/28 11:10:37 tv Exp $
+# $NetBSD: Makefile,v 1.102 2004/08/09 06:21:24 jlam Exp $
# Notes to package maintainers:
#
@@ -71,8 +71,12 @@ do-extract:
@${CP} -Rp ${FILESDIR} ${WRKSRC}
pre-configure:
- @cd ${LIBNBCOMPAT_SRCDIR} && ${SETENV} ${CONFIGURE_ENV:NLIBS=*} \
- CC=${CC} CPPFLAGS=${CPPFLAGS:Q} ./configure && ${MAKE_PROGRAM}
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${LIBNBCOMPAT_SRCDIR} && ${SETENV} \
+ AWK="${AWK}" CC="${CC}" CFLAGS="${CFLAGS:M*}" \
+ CPPFLAGS="${CPPFLAGS:M*}" \
+ ${CONFIGURE_ENV:NLIBS=*} ${CONFIG_SHELL} \
+ ${CONFIGURE_SCRIPT} && ${MAKE_PROGRAM}
post-install:
if [ ! -f ${PKG_DBDIR}/pkgdb.byfile.db ]; then \