1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/net/zerotier/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

36 lines
1018 B
Makefile

# Created by: Corey Smith <corsmith@gmail.com>
# $FreeBSD$
PORTNAME= zerotier
PORTVERSION= 1.2.4
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= dch@skunkwerks.at
COMMENT= Network virtualization everywhere
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.GPL-3
BROKEN_armv6= fails to link: Source object ext/arm32-neon-salsa2012-asm/salsa2012.o has EABI version 0, but target zerotier-one has EABI version 5
BROKEN_armv7= fails to link: Source object ext/arm32-neon-salsa2012-asm/salsa2012.o has EABI version 0, but target zerotier-one has EABI version 5
BROKEN_powerpc64= fails to compile: clang: not found
USES= gmake compiler:c11
USE_RC_SUBR= zerotier
USE_GITHUB= yes
GH_PROJECT= ZeroTierOne
CFLAGS+= -flax-vector-conversions
PLIST_FILES= bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/zerotier-one ${STAGEDIR}${PREFIX}/sbin/
.for l in zerotier-cli zerotier-idtool
${LN} -sf ../sbin/zerotier-one ${STAGEDIR}${PREFIX}/bin/${l}
.endfor
.include <bsd.port.mk>