summaryrefslogtreecommitdiffstats
path: root/lib/bind/config.mk
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2004-09-24 18:42:05 +0000
committerdougb <dougb@FreeBSD.org>2004-09-24 18:42:05 +0000
commit389acf125bfcbcd1f7d58b0d9f9c0ba33090e57d (patch)
tree8fb8408bc976448290b2a17f9c4bc02cf4521664 /lib/bind/config.mk
parent23afcbf88f770c3340e7eecdbdce1e7233a9eeca (diff)
downloadFreeBSD-src-389acf125bfcbcd1f7d58b0d9f9c0ba33090e57d.zip
FreeBSD-src-389acf125bfcbcd1f7d58b0d9f9c0ba33090e57d.tar.gz
Fix the WANT_BIND_LIBS knob by correctly spelling it as WITH_BIND_LIBS
to match how similar syntax is used in the ports system. Thanks to kris for pointing out my mistake here. Install the lwres library unless the user defines NO_BIND, or the new knob, NO_BIND_LIBS_LWRES. There is at least one potential customer for this library in the wings. Thanks to nectar for the reminder.
Diffstat (limited to 'lib/bind/config.mk')
-rw-r--r--lib/bind/config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bind/config.mk b/lib/bind/config.mk
index 7968d90..77dbf36 100644
--- a/lib/bind/config.mk
+++ b/lib/bind/config.mk
@@ -15,7 +15,7 @@ CFLAGS+= -DHAVE_CONFIG_H
CFLAGS+= -DLIBINTERFACE=${LIBINTERFACE}
CFLAGS+= -DLIBREVISION=${LIBREVISION}
CFLAGS+= -DLIBAGE=${LIBAGE}
-.if defined(WANT_BIND_LIBS)
+.if defined(WITH_BIND_LIBS)
SHLIB_MAJOR= ${LIBINTERFACE}
SHLIB_MINOR= ${LIBINTERFACE}
.else
@@ -61,7 +61,7 @@ CFLAGS+= -I${LIB_BIND_DIR}
.endif
# Link against BIND libraries
-.if !defined(WANT_BIND_LIBS)
+.if !defined(WITH_BIND_LIBS)
LIBBIND9= ${LIB_BIND_REL}/bind9/libbind9.a
CFLAGS+= -I${BIND_DIR}/lib/bind9/include
LIBDNS= ${LIB_BIND_REL}/dns/libdns.a
@@ -84,7 +84,7 @@ CFLAGS+= -I${BIND_DIR}/lib/lwres/unix/include \
.endif
BIND_DPADD= ${LIBBIND9} ${LIBDNS} ${LIBISCCC} ${LIBISCCFG} \
${LIBISC} ${LIBLWRES}
-.if defined(WANT_BIND_LIBS)
+.if defined(WITH_BIND_LIBS)
BIND_LDADD= -lbind9 -ldns -lisccc -lisccfg -lisc -llwres
.else
BIND_LDADD= ${BIND_DPADD}
OpenPOWER on IntegriCloud