summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoragc <agc>1999-06-03 08:47:22 +0000
committeragc <agc>1999-06-03 08:47:22 +0000
commit56d8c6ba78643404566aeb55fc40fccea4204f12 (patch)
treef246ad09c38558212d726f3014e256bfc18494e4 /editors
parente65b2dacb4b7abdd904aad3cf6eca6b4434d2c44 (diff)
downloadpkgsrc-56d8c6ba78643404566aeb55fc40fccea4204f12.tar.gz
On Solaris, find the -lcurses library instead of -ltermcap. Makes this
package work on Solaris.
Diffstat (limited to 'editors')
-rw-r--r--editors/jed/patches/patch-aa21
1 files changed, 19 insertions, 2 deletions
diff --git a/editors/jed/patches/patch-aa b/editors/jed/patches/patch-aa
index 1ee17dc69de..102d73bb646 100644
--- a/editors/jed/patches/patch-aa
+++ b/editors/jed/patches/patch-aa
@@ -1,7 +1,24 @@
-$NetBSD: patch-aa,v 1.1.1.1 1998/10/31 23:16:12 hwr Exp $
+$NetBSD: patch-aa,v 1.2 1999/06/03 08:47:22 agc Exp $
+
+Make the search path include the correct directories.
+On Solaris, find the -lcurses library instead of -ltermcap
+
--- configure.orig Wed Feb 11 17:57:02 1998
+++ configure Sat Oct 31 22:39:03 1998
-@@ -2434,6 +2434,7 @@
+@@ -2404,6 +2404,12 @@
+ break
+ fi
+ done
++opsys=`uname -s`
++if [ $opsys = SunOS ]; then
++ echo "$ac_t""yes" 1>&6
++ TERMCAP="-lcurses"
++ break
++fi
+ if test "$TERMCAP"; then
+ echo "$ac_t""no" 1>&6
+ cat >> confdefs.h <<\EOF
+@@ -2434,6 +2440,7 @@
# version.
JD_Search_Dirs="$JD_Search_Dirs \