From f4f7155d4020408e3cd838fbc05f34cc05e41bcd Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 22 Mar 2002 18:34:52 +0000 Subject: 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 --- lib/libbind/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libbind') 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 + +# XXX contrib/bind/include/* must not override any real system includes +CFLAGS:= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include ${CFLAGS} -- cgit v1.1