diff options
author | sborrill <sborrill> | 2009-04-29 12:34:42 +0000 |
---|---|---|
committer | sborrill <sborrill> | 2009-04-29 12:34:42 +0000 |
commit | 08eeb0b987673babf27ca387c25d1a3f9f6b04d4 (patch) | |
tree | a433eeac1852dd665d48bf8fe6c7e0dafc45a808 /net/miniupnpd | |
parent | bfd9cc91389ac9a68e454e6eb1f15f24ab96435b (diff) | |
download | pkgsrc-08eeb0b987673babf27ca387c25d1a3f9f6b04d4.tar.gz |
NetBSD GENERIC has IPFilter enabled and pf disabled by default. Therefore,
on NetBSD at least, we shouldn't default to pf.
Bump PKGREVISION
Diffstat (limited to 'net/miniupnpd')
-rw-r--r-- | net/miniupnpd/Makefile | 3 | ||||
-rw-r--r-- | net/miniupnpd/options.mk | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index b6a10848992..1347e6e725e 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2009/01/06 23:39:53 jmcneill Exp $ +# $NetBSD: Makefile,v 1.3 2009/04/29 12:34:42 sborrill Exp $ # DISTNAME= miniupnpd-20081009 +PKGREVISION= 1 PKGNAME= ${DISTNAME:S/miniupnpd-/&1.2.0./} CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/download.php?file= diff --git a/net/miniupnpd/options.mk b/net/miniupnpd/options.mk index 99ff224fbf9..c3af732d3a4 100644 --- a/net/miniupnpd/options.mk +++ b/net/miniupnpd/options.mk @@ -1,13 +1,17 @@ -# $NetBSD: options.mk,v 1.2 2009/01/06 23:39:53 jmcneill Exp $ +# $NetBSD: options.mk,v 1.3 2009/04/29 12:34:42 sborrill Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.miniupnpd PKG_OPTIONS_REQUIRED_GROUPS= miniupnpd-fw PKG_OPTIONS_GROUP.miniupnpd-fw= pf ipfilter -.if exists(/usr/include/net/pfvar.h) -PKG_SUGGESTED_OPTIONS+= pf +.if ${OPSYS} == "NetBSD" +PKG_SUGGESTED_OPTIONS+= ipfilter .else +. if exists(/usr/include/net/pfvar.h) +PKG_SUGGESTED_OPTIONS+= pf +. else PKG_SUGGESTED_OPTIONS+= ipfilter +. endif .endif .include "../../mk/bsd.options.mk" |