summaryrefslogtreecommitdiffstats
path: root/lib/bind/bind9/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bind/bind9/Makefile')
-rw-r--r--lib/bind/bind9/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bind/bind9/Makefile b/lib/bind/bind9/Makefile
index 3943bb8..68f72d7 100644
--- a/lib/bind/bind9/Makefile
+++ b/lib/bind/bind9/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
LIB_BIND_REL= ..
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
@@ -14,7 +16,7 @@ SRCS= check.c getaddresses.c version.c
CFLAGS+= -I${SRCDIR}/include
-.if defined(WITH_BIND_LIBS)
+.if ${MK_BIND_LIBS} != "no"
INCS= ${SRCDIR}/include/bind9/check.h \
${SRCDIR}/include/bind9/getaddresses.h \
${SRCDIR}/include/bind9/version.h
OpenPOWER on IntegriCloud