summaryrefslogtreecommitdiff
path: root/net/netbsd-tap/options.mk
blob: 7e22fe759ae550dc5e4912d09c620d8009ab1207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: options.mk,v 1.4 2006/07/21 14:27:56 jlam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.netbsd-tap
PKG_SUPPORTED_OPTIONS=	bpf
PKG_SUGGESTED_OPTIONS=	bpf

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mbpf)
PKGSRC_MAKE_ENV+=	USE_BPF=YES
.endif

TAP_KERNEL_ENV?=	# empty
BUILD_DEFS+=	TAP_KERNEL_ENV
MAKE_ENV+=	TAP_KERNEL_ENV=${TAP_KERNEL_ENV:Q}