summaryrefslogtreecommitdiff
path: root/dns/bind9-devel
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-10-19 14:23:49 +0000
committerJohn Marino <marino@FreeBSD.org>2016-10-19 14:23:49 +0000
commitb111cf4a09b745d0054eccde177653aedb124e80 (patch)
treee815ea20c12058bf9483097230cb51d7acb40fa5 /dns/bind9-devel
parent28020dfaabdf71965e6528cda6f5c79c263176f5 (diff)
downloadfreebsd-ports-b111cf4a09b745d0054eccde177653aedb124e80.zip
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
Diffstat (limited to 'dns/bind9-devel')
-rw-r--r--dns/bind9-devel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index 2da86f0c1c5d..0209a120e5b4 100644
--- a/dns/bind9-devel/Makefile
+++ b/dns/bind9-devel/Makefile
@@ -55,6 +55,7 @@ CONFIGURE_ARGS+= --localstatedir=/var --disable-linux-caps \
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].*