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 | 46585ebaaf067ae5604f667f1bdcfd944931a15e (patch) | |
tree | 76e3cd49eb33060c4c0388e69eb7c6b2bcd87d2e /www | |
parent | b93dee1440c9a3fac541bddca58ca3d21ad47253 (diff) | |
download | pkgsrc-46585ebaaf067ae5604f667f1bdcfd944931a15e.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 |