aboutsummaryrefslogtreecommitdiffstats
path: root/math/spar
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 19:57:46 +0800
committermarino <marino@FreeBSD.org>2016-02-07 19:57:46 +0800
commitc303c56a49470909ae1ed0addf1653f21424d3e6 (patch)
tree09fd7c465911be6d2375ccff0f9478b9334b8f03 /math/spar
parent9593b98c02ab6127db3120014dfabbce6c3dbb9a (diff)
downloadfreebsd-ports-gnome-c303c56a49470909ae1ed0addf1653f21424d3e6.tar.gz
freebsd-ports-gnome-c303c56a49470909ae1ed0addf1653f21424d3e6.tar.zst
freebsd-ports-gnome-c303c56a49470909ae1ed0addf1653f21424d3e6.zip
math/spar: USES+= ncurses, link with ncurses (not curses)
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