Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2016 14:08:34 +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: r407469 - head/devel/libedit
Message-ID:  <201601291408.u0TE8Yhp018373@repo.freebsd.org>

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



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