pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/squid Add ipf-transparent to PKG_SUGGESTED_OPTIONS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46b6eefbbd37
branches:  trunk
changeset: 495261:46b6eefbbd37
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jun 06 01:51:13 2005 +0000

description:
Add ipf-transparent to PKG_SUGGESTED_OPTIONS only if it is included in
PKG_SUPPORTED_OPTIONS.  Noted by OBATA Akio with private mail.

diffstat:

 www/squid/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r bc5ce59b601a -r 46b6eefbbd37 www/squid/options.mk
--- a/www/squid/options.mk      Mon Jun 06 01:37:13 2005 +0000
+++ b/www/squid/options.mk      Mon Jun 06 01:51:13 2005 +0000
@@ -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+=        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
 



Home | Main Index | Thread Index | Old Index