summaryrefslogtreecommitdiff
path: root/www/squid
diff options
context:
space:
mode:
authortaca <taca>2005-06-06 01:51:13 +0000
committertaca <taca>2005-06-06 01:51:13 +0000
commitfd2cd1b7b661b68ea585033fe5b2b7503a585b01 (patch)
tree76e3cd49eb33060c4c0388e69eb7c6b2bcd87d2e /www/squid
parentf35f906ad5e06fa20d3f14c4bdde0e505dc5f890 (diff)
downloadpkgsrc-fd2cd1b7b661b68ea585033fe5b2b7503a585b01.tar.gz
Add ipf-transparent to PKG_SUGGESTED_OPTIONS only if it is included in
PKG_SUPPORTED_OPTIONS. Noted by OBATA Akio with private mail.
Diffstat (limited to 'www/squid')
-rw-r--r--www/squid/options.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/squid/options.mk b/www/squid/options.mk
index 6d7fda3d6bf..8fe9ea5c808 100644
--- a/www/squid/options.mk
+++ b/www/squid/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2005/06/05 14:20:27 taca Exp $
+# $NetBSD: options.mk,v 1.2 2005/06/06 01:51:13 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squid
PKG_SUPPORTED_OPTIONS= icmp pam-helper snmp ssl aufs
@@ -20,7 +20,8 @@ PKG_SUPPORTED_OPTIONS+= ipf-transparent
PKG_SUPPORTED_OPTIONS+= pf-transparent
.endif
-.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD"
+.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD") && \
+ !empty(PKG_SUPPORTED_OPTIONS:Mipf-transparent)
PKG_SUGGESTED_OPTIONS+= ipf-transparent
.endif