summaryrefslogtreecommitdiffstats
path: root/lib/libbind/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-03-22 18:34:52 +0000
committerru <ru@FreeBSD.org>2002-03-22 18:34:52 +0000
commitf4f7155d4020408e3cd838fbc05f34cc05e41bcd (patch)
tree17e241e4c4cf20ac05c427882769c5c2a64d7bb8 /lib/libbind/Makefile
parentcb4688c90eead16a0ff16654cec050f9ee06304b (diff)
downloadFreeBSD-src-f4f7155d4020408e3cd838fbc05f34cc05e41bcd.zip
FreeBSD-src-f4f7155d4020408e3cd838fbc05f34cc05e41bcd.tar.gz
This library uses its own versions of some of the system headers.
Protect against CFLAGS having -I/usr/include listed explicitly. The real solution would be to fix the library. XXX
Diffstat (limited to 'lib/libbind/Makefile')
-rw-r--r--lib/libbind/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libbind/Makefile b/lib/libbind/Makefile
index ba6da8a7..4747957 100644
--- a/lib/libbind/Makefile
+++ b/lib/libbind/Makefile
@@ -2,9 +2,6 @@
BIND_DIR=${.CURDIR}/../../contrib/bind
-# contrib/bind/include/* must not override any real system includes
-CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include
-
LIB= bind
WANT_IRS= for now
@@ -86,3 +83,6 @@ NOPIC= true
INTERNALSTATICLIB= true
.include <bsd.lib.mk>
+
+# XXX contrib/bind/include/* must not override any real system includes
+CFLAGS:= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include ${CFLAGS}
OpenPOWER on IntegriCloud