Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 11:57:46 +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: r408386 - head/math/spar
Message-ID:  <201602071157.u17BvkQh046181@repo.freebsd.org>

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



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