Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2011 12:07:22 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224129 - head/lib/bind
Message-ID:  <201107171207.p6HC7M3F072887@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Sun Jul 17 12:07:22 2011
New Revision: 224129
URL: http://svn.freebsd.org/changeset/base/224129

Log:
  Fixes to make the WITH_BIND_LIBS option functional with BIND 9.8.x

Modified:
  head/lib/bind/config.mk

Modified: head/lib/bind/config.mk
==============================================================================
--- head/lib/bind/config.mk	Sun Jul 17 11:24:34 2011	(r224128)
+++ head/lib/bind/config.mk	Sun Jul 17 12:07:22 2011	(r224129)
@@ -107,6 +107,13 @@ BIND_DPADD=	${LIBBIND9} ${LIBDNS} ${LIBI
 		${LIBISC} ${LIBLWRES}
 .if ${MK_BIND_LIBS} != "no"
 BIND_LDADD=	-lbind9 -ldns -lisccc -lisccfg -lisc -llwres
+CFLAGS+=	-I${BIND_DIR}/lib/isc/include
+CFLAGS+=	-I${BIND_DIR}/lib/isc/unix/include
+CFLAGS+=	-I${BIND_DIR}/lib/isc/pthreads/include
+CFLAGS+=	-I${.CURDIR}/../dns
+CFLAGS+=	-I${BIND_DIR}/lib/dns/include
+CFLAGS+=	-I${BIND_DIR}/lib/isccfg/include
+CFLAGS+=	-I${.CURDIR}/../isc
 .else
 BIND_LDADD=	${BIND_DPADD}
 .endif
@@ -121,8 +128,7 @@ CRYPTO_LDADD=	-lcrypto
 CFLAGS+=	-DHAVE_LIBXML2
 CFLAGS+=	-I/usr/local/include -I/usr/local/include/libxml2
 .if ${MK_BIND_LIBS} != "no"
-CFLAGS+=	-L/usr/local/lib
-BIND_LDADD+=	-lxml2 -lz -liconv -lm
+BIND_LDADD+=	-L/usr/local/lib -lxml2 -lz -liconv -lm
 .else
 BIND_DPADD+=	/usr/local/lib/libxml2.a ${LIBZ} 
 BIND_DPADD+=	/usr/local/lib/libiconv.a ${LIBM}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107171207.p6HC7M3F072887>