Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2016 14:23:49 +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: r424255 - head/dns/bind9-devel
Message-ID:  <201610191423.u9JENnGC080022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Oct 19 14:23:49 2016
New Revision: 424255
URL: https://svnweb.freebsd.org/changeset/ports/424255

Log:
  dns/bind9-devel: Set LDFLAGS for ports-based libedit/ncurses
  
  The latest version failed to configure using ports libedit+ncurses:
    configure: checking for readline with -ledit
    checking for readline... no
    configure: checking for readline with -ledit -lterminfo
    checking for readline... no
    configure: checking for readline with -ledit -ltermcap
    checking for readline... no
    configure: checking for readline with -ledit -lncurses
    checking for readline... no
    configure: checking for readline with -ledit -lcurses
    checking for readline... no
    configure: error: The readline library was not found.
  
  Setting LDFLAGS allows the build to complete as before.
  
  Approved by:	just-fix-it/explicit LDFLAGS blanket

Modified:
  head/dns/bind9-devel/Makefile

Modified: head/dns/bind9-devel/Makefile
==============================================================================
--- head/dns/bind9-devel/Makefile	Wed Oct 19 14:22:31 2016	(r424254)
+++ head/dns/bind9-devel/Makefile	Wed Oct 19 14:23:49 2016	(r424255)
@@ -55,6 +55,7 @@ CONFIGURE_ARGS+=	--localstatedir=/var --
 CONFIGURE_ARGS+=	--disable-shared
 .endif
 ETCDIR=		${PREFIX}/etc/namedb
+LDFLAGS+=	-L${LOCALBASE}/lib	# for ports-based libedit
 
 CONFLICTS+=	bind9*-9.[456789].* bind910-* bind911-*  bind9*-sdb-9.[456789].*
 



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