svn commit: r408445 - head/devel/terminality

John Marino marino at FreeBSD.org
Sun Feb 7 19:19:12 UTC 2016


Author: marino
Date: Sun Feb  7 19:19:10 2016
New Revision: 408445
URL: https://svnweb.freebsd.org/changeset/ports/408445

Log:
  devel/terminality: USES+= ncurses, respect LDFLAGS

Modified:
  head/devel/terminality/Makefile

Modified: head/devel/terminality/Makefile
==============================================================================
--- head/devel/terminality/Makefile	Sun Feb  7 19:17:37 2016	(r408444)
+++ head/devel/terminality/Makefile	Sun Feb  7 19:19:10 2016	(r408445)
@@ -10,10 +10,15 @@ DISTNAME=	tn-${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Cross-platform terminal manipulation library
 
+USES=		ncurses
 USE_CSTD=	gnu89
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${REINPLACE_CMD} -e 's at -lncurses@$$(LDFLAGS) -lncurses at g' \
+		${WRKSRC}/demo/Makefile ${WRKSRC}/dlgc/Makefile
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/tn
 	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/tn


More information about the svn-ports-all mailing list