a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# Created by: Corey Smith <corsmith@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zerotier
|
|
DISTVERSION= 1.2.12
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
COMMENT= Network virtualization everywhere
|
|
|
|
LICENSE= GPLv3+ MIT PD
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_GPLv3+ =${WRKSRC}/LICENSE.GPL-3
|
|
LICENSE_FILE_MIT=${WRKSRC}/ext/json/LICENSE.MIT
|
|
|
|
BROKEN_powerpc64= fails to compile: clang: not found
|
|
|
|
USES= gmake compiler:c++14-lang
|
|
USE_RC_SUBR= zerotier
|
|
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= ZeroTierOne
|
|
|
|
CFLAGS+= -flax-vector-conversions
|
|
|
|
OPTIONS_DEFINE= DBG
|
|
DBG_DESC= Enable foreground debugging for zerotier-one daemon
|
|
DBG_ALL_TARGET= debug
|
|
|
|
PLIST_FILES= bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
# log output via syslog when daemon(8) supports it
|
|
.if ((${OSVERSION} >= 1100513 && ${OSVERSION} < 1200000) || ${OSVERSION} >= 1200015)
|
|
SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier"
|
|
.else
|
|
SUB_LIST+= ZEROTIER_SYSLOG=""
|
|
.endif
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zerotier-one ${STAGEDIR}${PREFIX}/sbin/
|
|
.for l in zerotier-cli zerotier-idtool
|
|
${RLN} ${STAGEDIR}${PREFIX}/sbin/zerotier-one ${STAGEDIR}${PREFIX}/bin/${l}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|