summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
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
commit52c8d0ef3c0e44fe69b6a746bc89963524b3411c (patch)
treed3ed185a25ac4137a8f35d144bd12e96be495d24 /pkgtools/pkg_install
parent0e61bc2045e3eb3a80ac60492eada15b0450e637 (diff)
downloadpkgsrc-52c8d0ef3c0e44fe69b6a746bc89963524b3411c.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/pkg_install')
-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 \