svn commit: r407530 - head/devel/newt

John Marino marino at FreeBSD.org
Sat Jan 30 15:29:46 UTC 2016


Author: marino
Date: Sat Jan 30 15:29:45 2016
New Revision: 407530
URL: https://svnweb.freebsd.org/changeset/ports/407530

Log:
  devel/newt: Document ncurses requirement, fix LDFLAGS
  
  Use "-lncurses" rather than "-lcurses".  For base ncurses, it's the
  same thing, but the latter doesn't exist on ports ncurses.

Modified:
  head/devel/newt/Makefile

Modified: head/devel/newt/Makefile
==============================================================================
--- head/devel/newt/Makefile	Sat Jan 30 15:21:11 2016	(r407529)
+++ head/devel/newt/Makefile	Sat Jan 30 15:29:45 2016	(r407530)
@@ -14,14 +14,14 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2 \
 		libpopt.so:${PORTSDIR}/devel/popt
 
-USES=		gmake
+USES=		gmake ncurses
 GNU_CONFIGURE=	yes
 MAKE_ENV=	PCFLAGS="${CFLAGS}"
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lcurses
+LDFLAGS+=	-L${LOCALBASE}/lib -lncurses
 
 PLIST_SUB=	SOVERSION="${SOVERSION}" \
 		VERSION="${PORTVERSION}"


More information about the svn-ports-head mailing list