aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind96/Makefile
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-09-06 04:18:30 +0800
committerbsam <bsam@FreeBSD.org>2013-09-06 04:18:30 +0800
commitd4be7ebb16af8657e516c12bf0574fb925a3f26f (patch)
tree3b1d1321b78dcf4a659d95ca332649d8253316c1 /dns/bind96/Makefile
parentd17cc05291e2481f97fd8cd319a6585d4004ffad (diff)
downloadfreebsd-ports-gnome-d4be7ebb16af8657e516c12bf0574fb925a3f26f.tar.gz
freebsd-ports-gnome-d4be7ebb16af8657e516c12bf0574fb925a3f26f.tar.zst
freebsd-ports-gnome-d4be7ebb16af8657e516c12bf0574fb925a3f26f.zip
. introduce ICONV_CONFIGURE_BASE variable at Mk/Uses/iconv.mk. It's value is
"--with-libiconv=${LOCALBASE}" at systems pre OSVERSION 100043 and "" (null) otherwise; . convert all ports which has CONFIGURE_ARGS=--with-libiconv=${LOCALBASE}. Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'dns/bind96/Makefile')
-rw-r--r--dns/bind96/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dns/bind96/Makefile b/dns/bind96/Makefile
index c42c30305f0e..ebea70cc582c 100644
--- a/dns/bind96/Makefile
+++ b/dns/bind96/Makefile
@@ -69,7 +69,8 @@ CONFIGURE_ARGS+= --without-libxml2
.endif
.if ${PORT_OPTIONS:MIDN}
-CONFIGURE_ARGS+= --with-idn=${LOCALBASE} --with-libiconv=${LOCALBASE}
+USES+= iconv
+CONFIGURE_ARGS+= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE}
LIB_DEPENDS+= idnkit.1:${PORTSDIR}/dns/idnkit
.else
CONFIGURE_ARGS+= --without-idn