pkgsrc/net/jwhois/options.mk
shattered 2d8b4560a3 Fix connection failures to WHOIS servers with IPv6 addresses from hosts
without IPv6 connectivity.  Patch taken from Debian bug report 542148.

Also delint.
2012-10-23 20:49:38 +00:00

15 lines
453 B
Makefile

# $NetBSD: options.mk,v 1.2 2012/10/23 20:49:38 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.jwhois
PKG_SUPPORTED_OPTIONS= jwhois-enable-cache
PKG_OPTIONS_LEGACY_VARS+= JWHOIS_ENABLE_CACHE:jwhois-enable-cache
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mjwhois-enable-cache)
CONFIGURE_ARGS+= --with-cache
CONF_FILES_PERMS+= /dev/null /${VARBASE}/db/jwhois.db \
${ROOT_USER} nogroup 0666
.else
CONFIGURE_ARGS+= --without-cache
.endif