svn commit: r407469 - head/devel/libedit
John Marino
marino at FreeBSD.org
Fri Jan 29 14:08:36 UTC 2016
Author: marino
Date: Fri Jan 29 14:08:34 2016
New Revision: 407469
URL: https://svnweb.freebsd.org/changeset/ports/407469
Log:
devel/libedit: Add missing USES=ncurses
Libedit links with ncurses, so it needs to be documented in USES. For
platforms that use the ports ncurses, also set LDFLAGS explicitly so
the libraries can be found.
Approved by: bapt
Modified:
head/devel/libedit/Makefile
Modified: head/devel/libedit/Makefile
==============================================================================
--- head/devel/libedit/Makefile Fri Jan 29 13:52:24 2016 (r407468)
+++ head/devel/libedit/Makefile Fri Jan 29 14:08:34 2016 (r407469)
@@ -13,7 +13,7 @@ COMMENT= Command line editor library
LICENSE= BSD2CLAUSE
-USES= libtool pathfix
+USES= libtool ncurses pathfix
EDITVERSION= 3.1
EDITDATE= 20150325
WRKSRC= ${WRKDIR}/${PORTNAME}-${EDITDATE}-${EDITVERSION}
@@ -22,6 +22,7 @@ USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-widec
MAKE_ENV= LC_ALL=C
+LDFLAGS+= -L${LOCALBASE}/lib
CONFLICT_INSTALL= editline-*
More information about the svn-ports-all
mailing list