svn commit: r408193 - in head/news/trn: . files scripts

John Marino marino at FreeBSD.org
Fri Feb 5 14:09:17 UTC 2016


Author: marino
Date: Fri Feb  5 14:09:15 2016
New Revision: 408193
URL: https://svnweb.freebsd.org/changeset/ports/408193

Log:
  news/trn: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  Also link to libncurses, not libtermcap
  
  approved by:	infrastructure blanket

Modified:
  head/news/trn/Makefile
  head/news/trn/files/patch-Makefile.SH
  head/news/trn/scripts/pre-configure

Modified: head/news/trn/Makefile
==============================================================================
--- head/news/trn/Makefile	Fri Feb  5 14:02:37 2016	(r408192)
+++ head/news/trn/Makefile	Fri Feb  5 14:09:15 2016	(r408193)
@@ -14,11 +14,12 @@ RUN_DEPENDS=	munpack:${PORTSDIR}/convert
 
 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

Modified: head/news/trn/files/patch-Makefile.SH
==============================================================================
--- head/news/trn/files/patch-Makefile.SH	Fri Feb  5 14:02:37 2016	(r408192)
+++ head/news/trn/files/patch-Makefile.SH	Fri Feb  5 14:09:15 2016	(r408193)
@@ -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)

Modified: head/news/trn/scripts/pre-configure
==============================================================================
--- head/news/trn/scripts/pre-configure	Fri Feb  5 14:02:37 2016	(r408192)
+++ head/news/trn/scripts/pre-configure	Fri Feb  5 14:09:15 2016	(r408193)
@@ -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'


More information about the svn-ports-all mailing list