summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-09-23 14:44:43 +0000
committersalo <salo@pkgsrc.org>2003-09-23 14:44:43 +0000
commit01d6befc359eb7bb4d2a4be100424712b78e5e0a (patch)
treeee9f15a856ef4da7fd35cef1fb8356bed1e28548
parent20360d359cdc9c9d90ee1b7ca942dc29885cbe30 (diff)
downloadpkgsrc-01d6befc359eb7bb4d2a4be100424712b78e5e0a.tar.gz
Make sure that only base name of the make program is used to construct
the variable name. Fixes build on bootstrap-pkgsrc systems, closes pkg/22918 from MLH.
-rw-r--r--devel/m4/distinfo3
-rw-r--r--devel/m4/patches/patch-ac13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/m4/distinfo b/devel/m4/distinfo
index 8fd70703687..106e9693eb9 100644
--- a/devel/m4/distinfo
+++ b/devel/m4/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/12/23 20:08:50 wiz Exp $
+$NetBSD: distinfo,v 1.4 2003/09/23 14:44:43 salo Exp $
SHA1 (m4-1.4.tar.gz) = 60bfd560128b9b60151c2c2441271043e803bbcf
Size (m4-1.4.tar.gz) = 317588 bytes
SHA1 (patch-aa) = 1cadcd91fcda6131bc1a8ab723a2cc199532ed07
SHA1 (patch-ab) = 217c506243100c7396045a3aab3c352dd9972403
+SHA1 (patch-ac) = 8d7cdca40a5c76f2fd501e8b402ed179c8d38f6f
diff --git a/devel/m4/patches/patch-ac b/devel/m4/patches/patch-ac
new file mode 100644
index 00000000000..f9188267131
--- /dev/null
+++ b/devel/m4/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2003/09/23 14:44:44 salo Exp $
+
+--- configure.orig 1994-11-06 04:44:17.000000000 +0100
++++ configure 2003-09-23 16:11:15.000000000 +0200
+@@ -610,7 +610,7 @@
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+ echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
+-set dummy ${MAKE-make}; ac_make=$2
++set dummy `basename ${MAKE-make}`; ac_make=$2
+ if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&4
+ else