summaryrefslogtreecommitdiff
path: root/net/netbsd-tap/builtin.mk
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-01-20 18:02:38 +0000
committercube <cube@pkgsrc.org>2005-01-20 18:02:38 +0000
commit055370cc3855f1cd7735c491bb16a3b7ffdbd10b (patch)
tree83c2cd3a4e6b8a3e08451235a65357a91f3f5472 /net/netbsd-tap/builtin.mk
parent0a3823ec295a75466ad94306524a5952c1da3d03 (diff)
downloadpkgsrc-055370cc3855f1cd7735c491bb16a3b7ffdbd10b.tar.gz
Initial import of netbsd-tap into the NetBSD Packages Collection.
netbsd-tap is the "pkgsrcized" version of the implementation of tap(4) that can be found in NetBSD-current. It is compatible with NetBSD 2.0 and above.
Diffstat (limited to 'net/netbsd-tap/builtin.mk')
-rw-r--r--net/netbsd-tap/builtin.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/netbsd-tap/builtin.mk b/net/netbsd-tap/builtin.mk
new file mode 100644
index 00000000000..bce8f902880
--- /dev/null
+++ b/net/netbsd-tap/builtin.mk
@@ -0,0 +1,10 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2005/01/20 18:02:39 cube Exp $
+
+.if !defined(IS_BUILTIN.netbsd-tap)
+. if exists(/usr/include/net/if_tap.h)
+IS_BUILTIN.netbsd-tap= YES
+. else
+IS_BUILTIN.netbsd-tap= NO
+.endif # IS_BUILTIN.netbsd-tap
+
+USE_BUILTIN.netbsd-tap?= ${IS_BUILTIN.netbsd-tap}