summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-11 10:42:58 +0000
committerpeter <peter@FreeBSD.org>1998-06-11 10:42:58 +0000
commitf9a68517de2768e7a53d7156aecd6a349455632e (patch)
tree72fdf5cb588af57fa48103c854ab4fbfa78e0108 /usr.sbin/named
parent29d129a6ab5af0f0f0997510260fbd9c67704e97 (diff)
downloadFreeBSD-src-f9a68517de2768e7a53d7156aecd6a349455632e.zip
FreeBSD-src-f9a68517de2768e7a53d7156aecd6a349455632e.tar.gz
bsd.dep.mk doesn't know about -idirafter, and doesn't parse -I the
same way that gcc does.
Diffstat (limited to 'usr.sbin/named')
-rw-r--r--usr.sbin/named/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc
index 23dd5cf..16a221f 100644
--- a/usr.sbin/named/Makefile.inc
+++ b/usr.sbin/named/Makefile.inc
@@ -1,5 +1,5 @@
# From: Id: Makefile.inc,v 8.4 1996/03/03 17:42:43 vixie Exp
-# $Id: Makefile.inc,v 1.7 1998/05/06 13:23:39 bde Exp $
+# $Id: Makefile.inc,v 1.8 1998/06/11 09:16:28 peter Exp $
.ifndef (Mk.Inc)
Mk.Inc?=defined
@@ -16,11 +16,12 @@ DESTRUN= /var/run
DESTSBIN= /usr/sbin
DESTHELP= /usr/share/misc
-CFLAGS+= -I ${BIND_DIR}/port/freebsd/include
+CFLAGS+= -I${BIND_DIR}/port/freebsd/include
# This is mostly for named and named-xfer
.if defined(USE_LIBBIND)
-CFLAGS+= -idirafter ${BIND_DIR}/include
+# Sadly, mkdep doesn't know about -idirafter, which would be ideal here.
+CFLAGS+= -I${DESTDIR}/usr/include -I${BIND_DIR}/include
.if exists(${.OBJDIR}/../../lib/libbind)
LIBBINDDIR:= ${.OBJDIR}/../../lib/libbind
OpenPOWER on IntegriCloud