blob: 551d1515162e800d4e196387e82dc00ab09437cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: options.mk,v 1.4 2009/06/04 07:54:26 hasso Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.miniupnpd
PKG_OPTIONS_REQUIRED_GROUPS= miniupnpd-fw
PKG_OPTIONS_GROUP.miniupnpd-fw= pf ipfilter
.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= ipfilter
.else
. if exists(/usr/include/net/pfvar.h) || exists(/usr/include/net/pf/pfvar.h)
PKG_SUGGESTED_OPTIONS+= pf
. else
PKG_SUGGESTED_OPTIONS+= ipfilter
. endif
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mipfilter)
MAKE_ENV+= FWNAME=ipf
FILES_SUBST+= FWNAME=ipfilter
.endif
.if !empty(PKG_OPTIONS:Mpf)
MAKE_ENV+= FWNAME=pf
FILES_SUBST+= FWNAME=pf
.endif
|