aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind99
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-09-25 18:05:48 +0800
committermat <mat@FreeBSD.org>2015-09-25 18:05:48 +0800
commit0c336ad821d6c1f19ae888319b1642f8abe69400 (patch)
tree8f0ce423c6520e03b7fb9a416a8bb450948a0884 /dns/bind99
parent2dac4153fb66c5b90e4128183e90fe26380af2da (diff)
downloadfreebsd-ports-gnome-0c336ad821d6c1f19ae888319b1642f8abe69400.tar.gz
freebsd-ports-gnome-0c336ad821d6c1f19ae888319b1642f8abe69400.tar.zst
freebsd-ports-gnome-0c336ad821d6c1f19ae888319b1642f8abe69400.zip
Fix build on -CURRENT. [1]
- Force building with libedit - Bump PORTREVISION to account for accidental succesful builds PR: 203273 [1] Sponsored by: Absolight
Diffstat (limited to 'dns/bind99')
-rw-r--r--dns/bind99/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index 8ce2ae17879d..2aa594528d62 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX= 99
@@ -34,6 +34,7 @@ CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
--disable-symtable \
--with-randomdev=/dev/random \
--with-libxml2=${LOCALBASE} \
+ --with-readline=-ledit \
--sysconfdir=${ETCDIR}
ETCDIR= ${PREFIX}/etc/namedb
@@ -194,6 +195,9 @@ PKGDEINSTALL= ${PKGINSTALL}
PORTDOCS= *
post-patch:
+ @${REINPLACE_CMD} -e 's|readline/readline.h|editline/readline.h|; \
+ s|readline/history.h|histedit.h|' \
+ ${WRKSRC}/bin/dig/nslookup.c ${WRKSRC}/bin/nsupdate/nsupdate.c
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \
rndc/rndc.8
@${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \