summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-06-01 21:58:59 +0000
committerdougb <dougb@FreeBSD.org>2009-06-01 21:58:59 +0000
commitec14ac76ed8467044f813ea36d7231146abe424a (patch)
tree72db1e0c01d84e250caffb50818290e40f7886f4 /usr.bin/dig
parent4222ea65c24563b74d0877038cd3d19da5666f1d (diff)
downloadFreeBSD-src-ec14ac76ed8467044f813ea36d7231146abe424a.zip
FreeBSD-src-ec14ac76ed8467044f813ea36d7231146abe424a.tar.gz
Add support for the build options that are currently in the port:
WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
Diffstat (limited to 'usr.bin/dig')
-rw-r--r--usr.bin/dig/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/dig/Makefile b/usr.bin/dig/Makefile
index 4ac3e64..585e379 100644
--- a/usr.bin/dig/Makefile
+++ b/usr.bin/dig/Makefile
@@ -15,6 +15,11 @@ SRCS+= dig.c dighost.c
CFLAGS+= -I${SRCDIR}/include
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
+.if ${MK_BIND_IDN} == "yes"
+CFLAGS+= -DWITH_IDN -I/usr/local/include
+CFLAGS+= -L/usr/local/lib -lidnkit -R/usr/local/lib -liconv
+.endif
+
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
OpenPOWER on IntegriCloud