diff options
author | John Marino <marino@FreeBSD.org> | 2016-02-05 14:50:23 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-02-05 14:50:23 +0000 |
commit | 99dabf93c3a2e33314360c0cc72d7f3345894b32 (patch) | |
tree | ec871e2b3ce60b0fbddbc58f4c23cd6fa5b19e0f /news | |
parent | d7563e8dfe8bfa8d0b8c4e81cafb36834e49da2f (diff) |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/trn4/Makefile | 2 | ||||
-rw-r--r-- | news/trn4/files/patch-Configure | 16 | ||||
-rw-r--r-- | news/trn4/scripts/preconf | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/news/trn4/Makefile b/news/trn4/Makefile index 056beb58833e..b33e2e4c752d 100644 --- a/news/trn4/Makefile +++ b/news/trn4/Makefile @@ -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: diff --git a/news/trn4/files/patch-Configure b/news/trn4/files/patch-Configure new file mode 100644 index 000000000000..a597942bfc61 --- /dev/null +++ b/news/trn4/files/patch-Configure @@ -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 + ;; diff --git a/news/trn4/scripts/preconf b/news/trn4/scripts/preconf index 8da7d9d0ab96..5f38ca040f66 100644 --- a/news/trn4/scripts/preconf +++ b/news/trn4/scripts/preconf @@ -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' |