diff options
author | taca <taca@pkgsrc.org> | 2005-06-06 01:51:13 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-06-06 01:51:13 +0000 |
commit | 563a597e422c1e3c4585bbd301f6234cc18314eb (patch) | |
tree | 76e3cd49eb33060c4c0388e69eb7c6b2bcd87d2e /www | |
parent | 524a7c6316657ce11abe54b960760a3bf388941d (diff) | |
download | pkgsrc-563a597e422c1e3c4585bbd301f6234cc18314eb.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')
-rw-r--r-- | www/squid/options.mk | 5 |
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 |