diff options
author | grant <grant@pkgsrc.org> | 2003-10-11 12:11:41 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-11 12:11:41 +0000 |
commit | dbf3c5151c0134b86b3884d592918826cfc7afa6 (patch) | |
tree | b667bcde11b661d1f46ce14e265cc87b9a14b66a | |
parent | d554d28831ce30a4969a0869ef6b7540cb18c493 (diff) | |
download | pkgsrc-dbf3c5151c0134b86b3884d592918826cfc7afa6.tar.gz |
use `basename ${MAKE}...` in configure to avoid bad substitution
error.
from mlh at goathill dot org in PR pkg/22920.
-rw-r--r-- | devel/flex/distinfo | 3 | ||||
-rw-r--r-- | devel/flex/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/flex/distinfo b/devel/flex/distinfo index 2b95df6ae4d..6ff11e2ccf4 100644 --- a/devel/flex/distinfo +++ b/devel/flex/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 00:44:17 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/10/11 12:11:41 grant Exp $ SHA1 (flex-2.5.4a.tar.gz) = 38a5e15c348d2ca7dce94d71de2b51484d23e2ef Size (flex-2.5.4a.tar.gz) = 380995 bytes +SHA1 (patch-aa) = 2090bae09103fc04672081c855ca8be637f5fe9e diff --git a/devel/flex/patches/patch-aa b/devel/flex/patches/patch-aa new file mode 100644 index 00000000000..37725cc6216 --- /dev/null +++ b/devel/flex/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2003/10/11 12:11:41 grant Exp $ + +--- configure.orig 1995-04-21 06:10:14.000000000 +1000 ++++ configure +@@ -624,7 +624,7 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR + 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 |