aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-09-14 13:53:07 +0000
committerMikael Urankar <mikael@FreeBSD.org>2021-09-14 17:56:05 +0000
commitc99e872fa77cc8ad1815f4fe48f21e63dd220cde (patch)
tree7d6098c3f9e01f605370f8a8ae8e7a7eea2aba1f
parent41b3872375f4ceb55a8aa0856bdb326dcf0a40d2 (diff)
downloadports-c99e872fa77cc8ad1815f4fe48f21e63dd220cde.tar.gz
ports-c99e872fa77cc8ad1815f4fe48f21e63dd220cde.zip
comms/snap7: port to aarch64
-rw-r--r--comms/snap7/Makefile2
-rw-r--r--comms/snap7/files/patch-aarch64__bsd.mk15
2 files changed, 15 insertions, 2 deletions
diff --git a/comms/snap7/Makefile b/comms/snap7/Makefile
index b5db15f5d61c..cecf181d7b1d 100644
--- a/comms/snap7/Makefile
+++ b/comms/snap7/Makefile
@@ -12,8 +12,6 @@ COMMENT= Multi-platform Ethernet S7 PLC communication suite
LICENSE= GPLv3
-ONLY_FOR_ARCHS= amd64 armv6 i386 mips powerpc64 powerpc64le powerpc
-
USES= gmake
USE_LDCONFIG= yes
diff --git a/comms/snap7/files/patch-aarch64__bsd.mk b/comms/snap7/files/patch-aarch64__bsd.mk
new file mode 100644
index 000000000000..93fca6aa0da8
--- /dev/null
+++ b/comms/snap7/files/patch-aarch64__bsd.mk
@@ -0,0 +1,15 @@
+--- aarch64_bsd.mk.orig 2021-07-21 15:55:09 UTC
++++ aarch64_bsd.mk
+@@ -0,0 +1,12 @@
++##
++## aarch64 BSD based (FreeBSD etc.) Makefile
++## Use gmake instead of make
++##
++TargetCPU :=aarch64
++OS :=bsd
++CXXFLAGS := -O3 -g -fPIC -pedantic
++
++# Standard part
++
++include common.mk
++