summaryrefslogtreecommitdiff
path: root/devel/cscope/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cscope/patches/patch-ab')
-rw-r--r--devel/cscope/patches/patch-ab43
1 files changed, 28 insertions, 15 deletions
diff --git a/devel/cscope/patches/patch-ab b/devel/cscope/patches/patch-ab
index 4e617d50f5e..fb94462b4fe 100644
--- a/devel/cscope/patches/patch-ab
+++ b/devel/cscope/patches/patch-ab
@@ -1,24 +1,37 @@
-$NetBSD: patch-ab,v 1.5 2001/06/20 03:19:21 jlam Exp $
+$NetBSD: patch-ab,v 1.6 2001/10/03 14:57:21 seb Exp $
---- configure.in.orig Fri May 5 17:09:35 2000
-+++ configure.in
-@@ -52,8 +52,6 @@
- dnl
+--- configure.orig Mon Jul 2 17:50:46 2001
++++ configure
+@@ -829,6 +829,8 @@
+
+
+
++# configure's patch is hand-trimmed after regen from patched configure.in
++
# ACNU_PROG_LEX fm AC_PROG_LEX
# -----------
--dnl chg: probes for lib in /usr/local/lib
--dnl sheesh you'd have thought that this was obvious enough to be done anyway
- AC_DEFUN(ACNU_PROG_LEX,[
- dnl autoconf-2.14a
- dnl AH_CHECK_LIB(fl)dnl
-@@ -65,9 +63,7 @@
+
+@@ -1344,9 +1346,8 @@
flex*) ac_lib=fl ;;
*) ac_lib=l ;;
esac
- LDFLAGS='-L/usr/local/lib'
-- AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-L/usr/local/lib -l$ac_lib")
+ echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
+ echo "configure:1350: checking for yywrap in -l$ac_lib" >&5
+ ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1380,12 +1381,11 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- LEXLIB="-L/usr/local/lib -l$ac_lib"
++ LEXLIB="-l$ac_lib"
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
- LDFLAGS=
-+ AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-l$ac_lib")
fi
- AC_SUBST(LEXLIB)
- ])
+
+