diff options
author | John Marino <marino@FreeBSD.org> | 2016-02-05 14:09:15 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-02-05 14:09:15 +0000 |
commit | 997d3537cc3c1fab7812ba8092f7bbd2cc75a4a7 (patch) | |
tree | dd3cbf03102ccad69f5e14afd20659cfe2d68705 /news | |
parent | 4f0c314e686631747d2bf86a6873c5fec637c4bc (diff) | |
download | ports-997d3537cc3c1fab7812ba8092f7bbd2cc75a4a7.tar.gz ports-997d3537cc3c1fab7812ba8092f7bbd2cc75a4a7.zip |
news/trn: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link to libncurses, not libtermcap
approved by: infrastructure blanket
Notes
Notes:
svn path=/head/; revision=408193
Diffstat (limited to 'news')
-rw-r--r-- | news/trn/Makefile | 3 | ||||
-rw-r--r-- | news/trn/files/patch-Makefile.SH | 14 | ||||
-rw-r--r-- | news/trn/scripts/pre-configure | 2 |
3 files changed, 14 insertions, 5 deletions
diff --git a/news/trn/Makefile b/news/trn/Makefile index 4c8b03645c3a..e9115af2b34e 100644 --- a/news/trn/Makefile +++ b/news/trn/Makefile @@ -14,11 +14,12 @@ RUN_DEPENDS= munpack:${PORTSDIR}/converters/mpack CONFLICTS_INSTALL=trn-4.[0-9]* +USES= ncurses WRKSRC= ${WRKDIR}/trn-3.6 HAS_CONFIGURE= Yes CONFIGURE_SCRIPT= Configure -CONFIGURE_ENV= PREFIX="${PREFIX}" +CONFIGURE_ENV= PREFIX="${PREFIX}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= -S SUB_FILES= pkg-message diff --git a/news/trn/files/patch-Makefile.SH b/news/trn/files/patch-Makefile.SH index f10f59304f9e..4b7e78052cac 100644 --- a/news/trn/files/patch-Makefile.SH +++ b/news/trn/files/patch-Makefile.SH @@ -1,6 +1,14 @@ ---- Makefile.SH.orig Thu Jun 4 10:49:20 1998 -+++ Makefile.SH Thu Jun 4 10:49:50 1998 -@@ -133,6 +133,7 @@ +--- Makefile.SH.orig 1994-11-19 06:01:14 UTC ++++ Makefile.SH +@@ -35,7 +35,6 @@ TOUCH = touch + lintflags = -phbvxac $vincludes + + CFLAGS = $optimize $ccflags $vincludes +-LDFLAGS = $ldflags + + rnbin = $installbin + rnlib = $installprivlib +@@ -133,6 +132,7 @@ install: $(public) $(private) $(manpages # won't work with csh export PATH || exit 1 - (cd `./filexp $(rnbin)`; mv trn trn.old) diff --git a/news/trn/scripts/pre-configure b/news/trn/scripts/pre-configure index 1c67bf28ef0a..ccc57f2d9b66 100644 --- a/news/trn/scripts/pre-configure +++ b/news/trn/scripts/pre-configure @@ -107,7 +107,7 @@ d_getpwent='define' d_getcwd='undef' d_getwd='define' d_havetlib='define' -termlib='-ltermlib' +termlib='-lncurses' d_ignoreorg='undef' d_internet='define' d_memcmp='define' |