summaryrefslogtreecommitdiff
path: root/lib/bind
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2009-06-01 21:58:59 +0000
committerDoug Barton <dougb@FreeBSD.org>2009-06-01 21:58:59 +0000
commit536613bc357b2b597727f45e7e9d424b36110130 (patch)
tree72db1e0c01d84e250caffb50818290e40f7886f4 /lib/bind
parent25dd52cdb10d223b9258836e23cc6ae4ea333b86 (diff)
Notes
Diffstat (limited to 'lib/bind')
-rw-r--r--lib/bind/config.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/bind/config.mk b/lib/bind/config.mk
index 92cfbec36cc7..a50d348afec2 100644
--- a/lib/bind/config.mk
+++ b/lib/bind/config.mk
@@ -70,6 +70,19 @@ ISC_ATOMIC_ARCH= x86_32
ISC_ATOMIC_ARCH= ${MACHINE_ARCH}
.endif
+# Optional features
+.if ${MK_BIND_LARGE_FILE} == "yes"
+CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+.endif
+.if ${MK_BIND_SIGCHASE} == "yes"
+CFLAGS+= -DDIG_SIGCHASE
+.endif
+.if ${MK_BIND_XML} == "yes"
+CFLAGS+= -DHAVE_LIBXML2
+CFLAGS+= -I/usr/local/include -I/usr/local/include/libxml2
+CFLAGS+= -L/usr/local/lib -lxml2 -lz -liconv -lm
+.endif
+
# Link against BIND libraries
.if ${MK_BIND_LIBS} == "no"
LIBBIND9= ${LIB_BIND_REL}/bind9/libbind9.a