Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 11:44:48 +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: r408378 - head/math/lambda
Message-ID:  <201602071144.u17BimEB042036@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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