summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/named/Makefile.inc')
-rw-r--r--usr.sbin/named/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc
index 21b2ff6..20b3551 100644
--- a/usr.sbin/named/Makefile.inc
+++ b/usr.sbin/named/Makefile.inc
@@ -21,7 +21,8 @@ CFLAGS+= -I${BIND_DIR}/port/freebsd/include
# This is mostly for named and named-xfer
.if defined(USE_LIBBIND)
# Sadly, mkdep doesn't know about -idirafter, which would be ideal here.
-CFLAGS+= -I${DESTDIR}/usr/include -I${BIND_DIR}/include
+#CFLAGS+= -I${.CURDIR}/../../include -I${BIND_DIR}/include
+CFLAGS+= -I${BIND_DIR}/include
.if exists(${.OBJDIR}/../../lib/libbind)
LIBBINDDIR:= ${.OBJDIR}/../../lib/libbind
OpenPOWER on IntegriCloud