git: c99e872fa77c - main - comms/snap7: port to aarch64

Mikael Urankar mikael at FreeBSD.org
Tue Sep 14 17:56:16 UTC 2021


The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c99e872fa77cc8ad1815f4fe48f21e63dd220cde

commit c99e872fa77cc8ad1815f4fe48f21e63dd220cde
Author:     Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-14 13:53:07 +0000
Commit:     Mikael Urankar <mikael at FreeBSD.org>
CommitDate: 2021-09-14 17:56:05 +0000

    comms/snap7: port to aarch64
---
 comms/snap7/Makefile                    |  2 --
 comms/snap7/files/patch-aarch64__bsd.mk | 15 +++++++++++++++
 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
++


More information about the dev-commits-ports-main mailing list