svn commit: r408378 - head/math/lambda

John Marino marino at FreeBSD.org
Sun Feb 7 11:44:49 UTC 2016


Author: marino
Date: Sun Feb  7 11:44:47 2016
New Revision: 408378
URL: https://svnweb.freebsd.org/changeset/ports/408378

Log:
  math/lambda: USES+= ncurses, link to ncurses (not termcap)

Modified:
  head/math/lambda/Makefile

Modified: head/math/lambda/Makefile
==============================================================================
--- head/math/lambda/Makefile	Sun Feb  7 11:44:24 2016	(r408377)
+++ head/math/lambda/Makefile	Sun Feb  7 11:44:47 2016	(r408378)
@@ -11,7 +11,7 @@ COMMENT=	Lambda calculus interpreter
 
 LICENSE=	GPLv2
 
-USES=		perl5 readline shebangfix
+USES=		perl5 ncurses readline shebangfix
 USE_PERL5=	build
 SHEBANG_FILES=	docs/trans_xml_for_cat.pl
 GNU_CONFIGURE=	yes
@@ -25,6 +25,10 @@ PLIST_FILES=	bin/lambda \
 DOCS=		lambda.html lambdamanual.html user_manual_style.css
 PORTDOCS=	*
 
+post-patch:
+	${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure \
+		${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lambda ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${DATADIR}


More information about the svn-ports-all mailing list