aboutsummaryrefslogtreecommitdiff
path: root/math/spar
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 11:57:46 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 11:57:46 +0000
commit3f040e0ff493caf3f28dfbb41e30906d47837b45 (patch)
tree09fd7c465911be6d2375ccff0f9478b9334b8f03 /math/spar
parent2f05c274fac0ffbabd834672acd11bad8ee407f5 (diff)
downloadports-3f040e0ff493caf3f28dfbb41e30906d47837b45.tar.gz
ports-3f040e0ff493caf3f28dfbb41e30906d47837b45.zip
math/spar: USES+= ncurses, link with ncurses (not curses)
Notes
Notes: svn path=/head/; revision=408386
Diffstat (limited to 'math/spar')
-rw-r--r--math/spar/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/spar/Makefile b/math/spar/Makefile
index d745290eee81..85fa78567cdc 100644
--- a/math/spar/Makefile
+++ b/math/spar/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular math parser
-USES= libtool readline
+USES= libtool ncurses readline
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_LDCONFIG= yes
@@ -18,6 +18,7 @@ USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e "s,-ldl,,g" \
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/module/Makefile.in
+ @${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so