Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 19:19:10 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408445 - head/devel/terminality
Message-ID:  <201602071919.u17JJAQr080176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
 COMMENT=	Cross-platform terminal manipulation library
 
+USES=		ncurses
 USE_CSTD=	gnu89
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${REINPLACE_CMD} -e 's@-lncurses@$$(LDFLAGS) -lncurses@g' \
+		${WRKSRC}/demo/Makefile ${WRKSRC}/dlgc/Makefile
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/tn
 	${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/tn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071919.u17JJAQr080176>