diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-20 03:19:20 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-20 03:19:20 +0000 |
commit | 90d37a07339966f9eb42fe29287c1adfc59fea32 (patch) | |
tree | 5ecc47b3de035243b5eeb73f8e21250a9ec1264a /devel/cscope | |
parent | c917fdc251647d78e2f6e076c51285f83d46f196 (diff) | |
download | pkgsrc-90d37a07339966f9eb42fe29287c1adfc59fea32.tar.gz |
Fix stupid change by package author that looked for files explicitly in
/usr/local/lib and that explicitly set LDFLAGS to nothing.
Diffstat (limited to 'devel/cscope')
-rw-r--r-- | devel/cscope/distinfo | 4 | ||||
-rw-r--r-- | devel/cscope/patches/patch-aa | 26 | ||||
-rw-r--r-- | devel/cscope/patches/patch-ab | 24 |
3 files changed, 53 insertions, 1 deletions
diff --git a/devel/cscope/distinfo b/devel/cscope/distinfo index d50e20d0325..f3dedf8ab91 100644 --- a/devel/cscope/distinfo +++ b/devel/cscope/distinfo @@ -1,4 +1,6 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 00:44:14 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/06/20 03:19:20 jlam Exp $ SHA1 (cscope-15.0bl2.tar.gz) = 982802507baf30ea6efa3f93cc1513fb9d1e39e0 Size (cscope-15.0bl2.tar.gz) = 131713 bytes +SHA1 (patch-aa) = 21442af029fba1d0fae2fcccd63cda7df3522fda +SHA1 (patch-ab) = 35f103aa350b6a2a7f9ed08d1ec6d583bf80900e diff --git a/devel/cscope/patches/patch-aa b/devel/cscope/patches/patch-aa new file mode 100644 index 00000000000..b085c881587 --- /dev/null +++ b/devel/cscope/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.6 2001/06/20 03:19:21 jlam Exp $ + +--- configure.orig Wed May 10 15:39:50 2000 ++++ configure +@@ -1344,7 +1344,6 @@ + flex*) ac_lib=fl ;; + *) ac_lib=l ;; + esac +- LDFLAGS='-L/usr/local/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_%'` +@@ -1380,12 +1379,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= + fi + + diff --git a/devel/cscope/patches/patch-ab b/devel/cscope/patches/patch-ab new file mode 100644 index 00000000000..4e617d50f5e --- /dev/null +++ b/devel/cscope/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.5 2001/06/20 03:19:21 jlam Exp $ + +--- configure.in.orig Fri May 5 17:09:35 2000 ++++ configure.in +@@ -52,8 +52,6 @@ + dnl + # 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 @@ + 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") +- LDFLAGS= ++ AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-l$ac_lib") + fi + AC_SUBST(LEXLIB) + ]) |