diff options
author | dougb <dougb@FreeBSD.org> | 2004-09-24 18:42:05 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2004-09-24 18:42:05 +0000 |
commit | 389acf125bfcbcd1f7d58b0d9f9c0ba33090e57d (patch) | |
tree | 8fb8408bc976448290b2a17f9c4bc02cf4521664 /lib/bind/lwres/Makefile | |
parent | 23afcbf88f770c3340e7eecdbdce1e7233a9eeca (diff) | |
download | FreeBSD-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/lwres/Makefile')
-rw-r--r-- | lib/bind/lwres/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/bind/lwres/Makefile b/lib/bind/lwres/Makefile index 2d3dccf..f8dafdf 100644 --- a/lib/bind/lwres/Makefile +++ b/lib/bind/lwres/Makefile @@ -22,7 +22,14 @@ CFLAGS+= -I${.CURDIR} DPADD= ${PTHREAD_DPADD} LDADD= ${PTHREAD_LDADD} -.if defined(WANT_BIND_LIBS) +# Unlike other BIND libs, this should be installed unless the user says NO. +.if !defined(NO_BIND) +.if !defined(NO_BIND_LIBS_LWRES) +.undef INTERNALLIB + +SHLIB_MAJOR= ${LIBINTERFACE} +SHLIB_MINOR= ${LIBINTERFACE} + INCS= ${SRCDIR}/include/lwres/context.h \ ${SRCDIR}/include/lwres/int.h \ ${SRCDIR}/include/lwres/ipv6.h \ @@ -39,5 +46,6 @@ INCS= ${SRCDIR}/include/lwres/context.h \ INCSDIR= ${INCLUDEDIR}/lwres .endif +.endif .include <bsd.lib.mk> |