pkgsrc/net/libbind/options.mk
obache 74dacee939 Import libbind-6.0 as net/libbind.
ISC's libbind provides the standard resolver library,
along with header files and documentation, for communicating
with domain name servers, retrieving network host entries
from /etc/hosts or via DNS, converting CIDR network addresses,
perform Hesiod information lookups, retrieve network entries
from /etc/networks, implement TSIG transaction/request
security of DNS messages, perform name-to-address and
address-to-name translations, utilize /etc/resolv.conf
for resolver configuration.

It contains many of the same historical functions and headers
included with many Unix operating systems.

Originally written for BIND 8, it was included in BIND 9 as
optionally-compiled code through release 9.5.  It has been
removed from subsequent releases of BIND 9 and is now
provided as a separate package.
2010-04-15 12:57:49 +00:00

34 lines
731 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.libbind
PKG_SUPPORTED_OPTIONS= threads inet6
.include "../../mk/bsd.prefs.mk"
CHECK_BUILTIN.pthread:= yes
.include "../../mk/pthread.builtin.mk"
CHECK_BUILTIN.pthread:= no
.if !empty(IS_BUILTIN.pthread:M[yY][eE][sS])
PKG_SUGGESTED_OPTIONS+= threads
.endif
.if empty(MISSING_FEATURES:Minet6)
PKG_SUGGESTED_OPTIONS+= inet6
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-threads
.include "../../mk/pthread.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-threads
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif