svn commit: r408386 - head/math/spar

John Marino marino at FreeBSD.org
Sun Feb 7 11:57:48 UTC 2016


Author: marino
Date: Sun Feb  7 11:57:46 2016
New Revision: 408386
URL: https://svnweb.freebsd.org/changeset/ports/408386

Log:
  math/spar: USES+= ncurses, link with ncurses (not curses)

Modified:
  head/math/spar/Makefile

Modified: head/math/spar/Makefile
==============================================================================
--- head/math/spar/Makefile	Sun Feb  7 11:56:50 2016	(r408385)
+++ head/math/spar/Makefile	Sun Feb  7 11:57:46 2016	(r408386)
@@ -10,7 +10,7 @@ MASTER_SITES=	SF/${PORTNAME}/Spar/${PORT
 MAINTAINER=	ports at 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


More information about the svn-ports-all mailing list