summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-23 17:07:22 +0000
committerjlam <jlam@pkgsrc.org>2005-05-23 17:07:22 +0000
commit459a54b9ac0e044898ff5858c8a0ba5cc7a0aa71 (patch)
tree4957f7a89f5263e1fb4504dac9b7bd99b62c36a2 /mk
parent1a665fb748aa267c8acafbc034f313a9d1accd8d (diff)
downloadpkgsrc-459a54b9ac0e044898ff5858c8a0ba5cc7a0aa71.tar.gz
Work around brokenness in GNU configure scripts generated by autoconf-2.59a
-- the checks for grep and egrep are broken because when passed GREP and EGREP in the environment, the script causes GREP and EGREP to be set to empty strings, which causes GNU configure scripts to hang or break. Pass the real paths to grep and egrep through using ac_cv_path_GREP and ac_cv_path_EGREP as well to avoid the brokenness. This fixes the build of textproc/gsed.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/defaults.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/tools/defaults.mk b/mk/tools/defaults.mk
index 8cdf9e74127..be1e31c28de 100644
--- a/mk/tools/defaults.mk
+++ b/mk/tools/defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defaults.mk,v 1.21 2005/05/22 20:58:27 jlam Exp $
+# $NetBSD: defaults.mk,v 1.22 2005/05/23 17:07:22 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -136,11 +136,11 @@ _TOOLS_VARNAME_GNU.chmod= CHMOD
_TOOLS_VARNAME_GNU.cmp= CMP
_TOOLS_VARNAME_GNU.cp= CP
_TOOLS_VARNAME_GNU.echo= ECHO
-_TOOLS_VARNAME_GNU.egrep= EGREP
+_TOOLS_VARNAME_GNU.egrep= EGREP ac_cv_path_EGREP
_TOOLS_VARNAME_GNU.env= SETENV
_TOOLS_VARNAME_GNU.gawk= AWK
_TOOLS_VARNAME_GNU.gm4= M4
-_TOOLS_VARNAME_GNU.grep= GREP
+_TOOLS_VARNAME_GNU.grep= GREP ac_cv_path_GREP
_TOOLS_VARNAME_GNU.gsed= SED
_TOOLS_VARNAME_GNU.gtar= TAR
_TOOLS_VARNAME_GNU.hostname= HOSTNAME