mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
news/trn4: document ncurses requirement (USES+=ncurses)
Also link with libncurses instead of libcurses or libtermlib. approved by: infrastructure blanket
This commit is contained in:
parent
d7563e8dfe
commit
99dabf93c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408195
@ -13,6 +13,8 @@ COMMENT= Version 4.0 of the threaded readnews newsreader
|
||||
|
||||
CONFLICTS_INSTALL=trn-3.[0-9]* cnews-* s-news-[0-9]*
|
||||
|
||||
USES= ncurses
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
|
16
news/trn4/files/patch-Configure
Normal file
16
news/trn4/files/patch-Configure
Normal file
@ -0,0 +1,16 @@
|
||||
--- Configure.orig 2010-09-02 06:12:26 UTC
|
||||
+++ Configure
|
||||
@@ -4920,10 +4920,10 @@ x)
|
||||
esac
|
||||
case "$xxx" in
|
||||
x)
|
||||
- xxx=`./loc libcurses.$so'*' x $libpth`
|
||||
+ xxx=`./loc libncurses.$so'*' x $libpth`
|
||||
case "$xxx" in
|
||||
- /usr/lib*|/lib*)
|
||||
- termlib='-lcurses'
|
||||
+ /usr/lib*|/lib*|$prefix/lib*)
|
||||
+ termlib='-lncurses'
|
||||
d_havetlib="$define"
|
||||
echo "Terminfo library found." >&4
|
||||
;;
|
@ -288,7 +288,7 @@ subscriptions=''
|
||||
sysman='/usr/share/man/man1'
|
||||
tail='/usr/bin/tail'
|
||||
tee=''
|
||||
termlib='-lcursus'
|
||||
termlib='-lncurses'
|
||||
test='/bin/test'
|
||||
threaddir='remote'
|
||||
tk='undef'
|
||||
|
Loading…
Reference in New Issue
Block a user