MFH: r528561

security/softether5: fix build on aarch64

Tested on Amazon EC2 A1 instances with FreeBSD/ARM 12 image[1].
Build on mips also should be fixed (not actually tested).

[1] https://aws.amazon.com/marketplace/pp/B081NF7BY7

Sponsored by:	HAW International

Approved by:	portmgr branket (fix build)
This commit is contained in:
Koichiro Iwao 2020-03-17 06:34:24 +00:00
parent aa87c0680c
commit 0e87813769
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=528563
2 changed files with 6 additions and 4 deletions

View File

@ -2,14 +2,14 @@
PORTNAME= softether
DISTVERSION= 5.01.9672
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security net-vpn
PKGNAMESUFFIX= 5
DIST_SUBDIR= ${PORTNAME}
# Some patches are managed in my GitHub fork
PATCH_SITES= https://github.com/metalefty/${GH_PROJECT}/commit/
PATCHFILES= 7dcfce9.patch:-p1 5832425.patch:-p1 9093f9e.patch:-p1
PATCHFILES= 7dcfce9.patch:-p1 5832425.patch:-p1 9093f9e.patch:-p1 6349d85.patch:-p1
MAINTAINER= meta@FreeBSD.org
COMMENT= SoftEther VPN 5 (Developer Edition)
@ -55,7 +55,7 @@ SUB_FILES= pkg-message
# devel/cpu_features not available on these archs, see devel/cpu_features/Makefile
.if (${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == mips || ${ARCH} == mips64)
# skip cpu_features when devel/cpu_features is not available
CFLAGS+= -DSKIP_CPU_FEATURES
CMAKE_BOOL_ON+= SKIP_CPU_FEATURES
.else
BUILD_DEPENDS+= ${LOCALBASE}/include/cpu_features_macros.h:devel/cpu_features
.endif

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1582012314
TIMESTAMP = 1584404535
SHA256 (softether/SoftEtherVPN-SoftEtherVPN-5.01.9672_GH0.tar.gz) = 71db32ac42ac52af8d50c61190834b0c96759363d5e1911a69a0e3155a4c9644
SIZE (softether/SoftEtherVPN-SoftEtherVPN-5.01.9672_GH0.tar.gz) = 107032019
SHA256 (softether/7dcfce9.patch) = 43192adaedf65c3e5f0c5b22a489b41d2e192e6d4b4e24e2f7de1280d3b13dd9
@ -7,5 +7,7 @@ SHA256 (softether/5832425.patch) = bea99778e2d0ebaf2e80a2511cdc5c91a13430678f371
SIZE (softether/5832425.patch) = 12581
SHA256 (softether/9093f9e.patch) = aba81b81e21829356f8caeacc986cc3e6d94fe0c7dfb371a63485702ea6c0a53
SIZE (softether/9093f9e.patch) = 2046
SHA256 (softether/6349d85.patch) = a644a67d511becaa00e0c32e7529b28e0a44d1626869005f55c406af401aa70f
SIZE (softether/6349d85.patch) = 912
SHA256 (softether/d41c3ae.patch) = 33bc1239c13737869fba80f5e3aba0b293f125b70221cb586da885fbcd405412
SIZE (softether/d41c3ae.patch) = 930