summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-06-04 09:39:17 +0000
committerjmmv <jmmv>2003-06-04 09:39:17 +0000
commit5c5a1a72d824d39bf206a6a50df27472ffb7cfbb (patch)
tree311f0b9d447a47823baf71e6b08b556defc35dd7 /mk
parent24e6a391d0b73f520870acd3d4c6b1174a8e7b7c (diff)
downloadpkgsrc-5c5a1a72d824d39bf206a6a50df27472ffb7cfbb.tar.gz
Set the AWK environmental variable to the value of ${AWK} (as given by all
defs.*.mk files) when running the configure script. Most of them look for an awk parser, and this way they will always pick the right one without having to check all the possibilities.
Diffstat (limited to 'mk')
-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 2802b7f2dac..28253b940a7 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1188 2003/06/01 23:59:07 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1189 2003/06/04 09:39:17 jmmv Exp $
#
# This file is in the public domain.
#
@@ -2056,7 +2056,7 @@ do-configure: ${_CONFIGURE_PREREQ}
. if defined(HAS_CONFIGURE)
. for DIR in ${CONFIGURE_DIRS}
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${DIR} && ${SETENV} \
- CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
+ AWK="${AWK}" CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" FC="${FC}" F77="${FC}" FFLAGS="${FFLAGS}" \
INSTALL="`${TYPE} ${INSTALL} | ${AWK} '{ print $$NF }'` -c -o ${BINOWN} -g ${BINGRP}" \
ac_given_INSTALL="`${TYPE} ${INSTALL} | ${AWK} '{ print $$NF }'` -c -o ${BINOWN} -g ${BINGRP}" \