diff options
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' |