aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-10-19 22:23:49 +0800
committermarino <marino@FreeBSD.org>2016-10-19 22:23:49 +0800
commit57b4321263c5ccbb7618c2b93b417246d543eabd (patch)
treee815ea20c12058bf9483097230cb51d7acb40fa5
parent018a7272774984bcc83f114268261af4243aad08 (diff)
downloadfreebsd-ports-gnome-57b4321263c5ccbb7618c2b93b417246d543eabd.tar.gz
freebsd-ports-gnome-57b4321263c5ccbb7618c2b93b417246d543eabd.tar.zst
freebsd-ports-gnome-57b4321263c5ccbb7618c2b93b417246d543eabd.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
-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].*