aboutsummaryrefslogtreecommitdiffstats
path: root/news/trn
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-05 22:09:15 +0800
committermarino <marino@FreeBSD.org>2016-02-05 22:09:15 +0800
commit8ba1e89699a8266ff03a876d551eaa2d5e13345f (patch)
treedd3cbf03102ccad69f5e14afd20659cfe2d68705 /news/trn
parentfc841712cdb782a6e3f2d92ec402e7360a62adc3 (diff)
downloadfreebsd-ports-gnome-8ba1e89699a8266ff03a876d551eaa2d5e13345f.tar.gz
freebsd-ports-gnome-8ba1e89699a8266ff03a876d551eaa2d5e13345f.tar.zst
freebsd-ports-gnome-8ba1e89699a8266ff03a876d551eaa2d5e13345f.zip
news/trn: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link to libncurses, not libtermcap approved by: infrastructure blanket
Diffstat (limited to 'news/trn')
-rw-r--r--news/trn/Makefile3
-rw-r--r--news/trn/files/patch-Makefile.SH14
-rw-r--r--news/trn/scripts/pre-configure2
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'