summaryrefslogtreecommitdiff
path: root/net/netbsd-tap/files
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-02-20 21:50:57 +0000
committercube <cube@pkgsrc.org>2005-02-20 21:50:57 +0000
commit0c09c0588f99ab5fceeda72a46226d871d6122b3 (patch)
tree84b5cc8d13f54864f68007bdcbe276e1b0ec1d23 /net/netbsd-tap/files
parent90d0b1a41ea6e97e41de3e95be9afe67edf5ba92 (diff)
downloadpkgsrc-0c09c0588f99ab5fceeda72a46226d871d6122b3.tar.gz
o Add a way to pass special definitions to the compilation, to match kernel
environment, and document it in DESCR by lack of a better place. o Fix a reference to local in (yet unused) bl3.mk file. Both issues reported by Hubert Feyrer.
Diffstat (limited to 'net/netbsd-tap/files')
-rw-r--r--net/netbsd-tap/files/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/netbsd-tap/files/Makefile b/net/netbsd-tap/files/Makefile
index 01d81b5a0cb..31f4dfc56e5 100644
--- a/net/netbsd-tap/files/Makefile
+++ b/net/netbsd-tap/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/01/20 18:02:40 cube Exp $
+# $NetBSD: Makefile,v 1.2 2005/02/20 21:50:57 cube Exp $
SRCS= if_tap_lkm.c if_tap.c if_tap_stub.c
KMOD= tap
@@ -13,6 +13,9 @@ MANDIR= ${PREFIX}/man
.if defined(USE_BPF) && !empty(USE_BPF:M[Yy][Ee][Ss])
CPPFLAGS+= -DNBPFILTER=1
.endif
+.if defined(TAP_KERNEL_ENV) && !empty(TAP_KERNEL_ENV)
+CPPFLAGS+= ${TAP_KERNEL_ENV}
+.endif
install: install-postinstall