summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-01-30 15:29:45 +0000
committerJohn Marino <marino@FreeBSD.org>2016-01-30 15:29:45 +0000
commitaf21ea21e2d0340de643f31a00e0a9d3a813fdb6 (patch)
tree6a443e376b5eda5dadfba6eeb2b621cbeb793c4e
parentdatabases/firebird25-client: Fix build for ports ncurses (diff)
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.
Notes
Notes: svn path=/head/; revision=407530
-rw-r--r--devel/newt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 60aee1e25729..9af10543ede9 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -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}"