pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/flex use `basename ${MAKE}...` in configure to a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/449d39595c22
branches:  trunk
changeset: 462753:449d39595c22
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Oct 11 12:11:41 2003 +0000

description:
use `basename ${MAKE}...` in configure to avoid bad substitution
error.

from mlh at goathill dot org in PR pkg/22920.

diffstat:

 devel/flex/distinfo         |   3 ++-
 devel/flex/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 9a281b05f3e7 -r 449d39595c22 devel/flex/distinfo
--- a/devel/flex/distinfo       Sat Oct 11 12:06:04 2003 +0000
+++ b/devel/flex/distinfo       Sat Oct 11 12:11:41 2003 +0000
@@ -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 -r 9a281b05f3e7 -r 449d39595c22 devel/flex/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/flex/patches/patch-aa       Sat Oct 11 12:11:41 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index