aboutsummaryrefslogtreecommitdiff
path: root/net/zerotier/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/zerotier/Makefile')
-rw-r--r--net/zerotier/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile
index 386f491ae618..c91b9427d1e8 100644
--- a/net/zerotier/Makefile
+++ b/net/zerotier/Makefile
@@ -3,7 +3,7 @@
PORTNAME= zerotier
DISTVERSION= 1.2.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MAINTAINER= dch@FreeBSD.org
@@ -37,6 +37,12 @@ SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier"
.else
SUB_LIST+= ZEROTIER_SYSLOG=""
.endif
+# after r347241 tun(4) and tap(4) have been merged to tuntap(4)
+.if (${OSVERSION} >= 1300028)
+SUB_LIST+= ZEROTIER_IF_TAP="if_tuntap"
+.else
+SUB_LIST+= ZEROTIER_IF_TAP="if_tap"
+.endif
.endif
do-install: