summaryrefslogtreecommitdiff
path: root/news/trn
diff options
context:
space:
mode:
authorchristos <christos>2006-09-26 20:35:16 +0000
committerchristos <christos>2006-09-26 20:35:16 +0000
commit6ec9806258790e801b7498ab89e4419f00bd2d18 (patch)
tree5bbf41e39e971b5a7ecffc74cd6584cf51fad5a8 /news/trn
parentc2f37a82d17136f2f24f34fb0819c91de03de288 (diff)
downloadpkgsrc-6ec9806258790e801b7498ab89e4419f00bd2d18.tar.gz
fix build on linux by searching ncurses too for tputs.
Diffstat (limited to 'news/trn')
-rw-r--r--news/trn/distinfo4
-rw-r--r--news/trn/patches/patch-ac76
2 files changed, 66 insertions, 14 deletions
diff --git a/news/trn/distinfo b/news/trn/distinfo
index 8680d567523..1ed393b567b 100644
--- a/news/trn/distinfo
+++ b/news/trn/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2006/06/21 15:52:33 joerg Exp $
+$NetBSD: distinfo,v 1.8 2006/09/26 20:35:16 christos Exp $
SHA1 (trn-4.0-test76.tar.gz) = 4741d506d4c2d62a8dbaa5d4fd62cce656abcf3b
RMD160 (trn-4.0-test76.tar.gz) = f60478f8808b9c0d46a22ac924821cf2edd1fe87
Size (trn-4.0-test76.tar.gz) = 565528 bytes
-SHA1 (patch-ac) = 51b1983eef702d4e81f13e7b9ea01627f88a5557
+SHA1 (patch-ac) = 96dd4bd4ca73baf552c4d8172f7ad6d6a600bd7f
SHA1 (patch-ad) = 78c18d634cb0861754e1d555a0e514299136ecbc
diff --git a/news/trn/patches/patch-ac b/news/trn/patches/patch-ac
index 67f4a5e32c7..3af1bde8bc4 100644
--- a/news/trn/patches/patch-ac
+++ b/news/trn/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
+$NetBSD: patch-ac,v 1.6 2006/09/26 20:35:16 christos Exp $
---- Configure.orig 2001-02-22 19:17:39.000000000 +0000
-+++ Configure
-@@ -2540,7 +2540,7 @@ EOM
+--- Configure.orig 2001-02-22 14:17:39.000000000 -0500
++++ Configure 2006-09-26 15:17:42.033788587 -0400
+@@ -2540,7 +2540,7 @@
esac
;;
*) case "$d_inews" in
@@ -11,7 +11,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
"$define")
set dflt installinews bin
eval $prefixit
-@@ -4412,6 +4412,9 @@ case "$nm_so_opt" in
+@@ -4412,6 +4412,9 @@
nm_so_opt='--dynamic'
fi
;;
@@ -21,7 +21,59 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
esac
;;
esac
-@@ -6223,14 +6226,14 @@ active='$active'
+@@ -4882,6 +4885,25 @@
+ esac
+ case "$xxx" in
+ x)
++ xxx=`./loc libncurses$_a x $libpth`
++ case "$xxx" in
++ /usr/lib*|/lib*)
++ termlib='-lncurses'
++ d_havetlib="$define"
++ echo "Termlib library found." >&4
++ ;;
++ /*)
++ termlib="$xxx"
++ d_havetlib="$define"
++ echo "Termlib library found." >&4
++ ;;
++ *)
++ xxx=x
++ esac
++ ;;
++esac
++case "$xxx" in
++x)
+ xxx=`./loc libtermlib$_a x $libpth`
+ case "$xxx" in
+ /usr/lib*|/lib*)
+@@ -4939,6 +4961,25 @@
+ esac
+ case "$xxx" in
+ x)
++ xxx=`./loc libncurses.$so'*' x $libpth`
++ case "$xxx" in
++ /usr/lib*|/lib*)
++ termlib='-lncurses'
++ d_havetlib="$define"
++ echo "Terminfo library found." >&4
++ ;;
++ /*)
++ termlib="$xxx"
++ d_havetlib="$define"
++ echo "Terminfo library found." >&4
++ ;;
++ *)
++ xxx=x
++ esac
++ ;;
++esac
++case "$xxx" in
++x)
+ xxx=`./loc libtermlib.$so'*' x $libpth`
+ case "$xxx" in
+ /usr/lib*|/lib*)
+@@ -6223,14 +6264,14 @@
acttimes='$acttimes'
aphostcmd='$aphostcmd'
archobjs='$archobjs'
@@ -39,7 +91,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
cc='$cc'
ccflags='$ccflags'
cf_by='$cf_by'
-@@ -6240,7 +6243,7 @@ cntrydist='$cntrydist'
+@@ -6240,7 +6281,7 @@
comm='$comm'
contains='$contains'
contdist='$contdist'
@@ -48,7 +100,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
cpp='$cpp'
cppflags='$cppflags'
cpplast='$cpplast'
-@@ -6305,21 +6308,21 @@ d_xenix='$d_xenix'
+@@ -6305,21 +6346,21 @@
d_xthread='$d_xthread'
date='$date'
defeditor='$defeditor'
@@ -75,7 +127,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
groupdesc='$groupdesc'
hint='$hint'
hostbits='$hostbits'
-@@ -6376,10 +6379,10 @@ mboxchar='$mboxchar'
+@@ -6376,10 +6417,10 @@
mimecap='$mimecap'
mips='$mips'
mips_type='$mips_type'
@@ -88,7 +140,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
myactive='$myactive'
myuname='$myuname'
n='$n'
-@@ -6417,11 +6420,11 @@ prefixexp='$prefixexp'
+@@ -6417,11 +6458,11 @@
prefshell='$prefshell'
privlib='$privlib'
privlibexp='$privlibexp'
@@ -102,7 +154,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
sendmail='$sendmail'
servername='$servername'
sharpbang='$sharpbang'
-@@ -6442,7 +6445,7 @@ strings='$strings'
+@@ -6442,7 +6483,7 @@
strn='$strn'
subscriptions='$subscriptions'
sysman='$sysman'
@@ -111,7 +163,7 @@ $NetBSD: patch-ac,v 1.5 2006/06/21 15:52:33 joerg Exp $
tee='$tee'
termlib='$termlib'
test='$test'
-@@ -6450,7 +6453,7 @@ threaddir='$threaddir'
+@@ -6450,7 +6491,7 @@
tk='$tk'
tkinc='$tkinc'
tklibs='$tklibs'