git: 9f5548dade5b - main - comms/snap7: port to powerpc and powerpc64

Piotr Kubaj pkubaj at FreeBSD.org
Thu Apr 15 13:31:00 UTC 2021


The branch main has been updated by pkubaj:

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

commit 9f5548dade5bfc8967a51efdf73a193717f9b346
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-15 13:30:53 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-15 13:30:53 +0000

    comms/snap7: port to powerpc and powerpc64
---
 comms/snap7/Makefile                      |  2 +-
 comms/snap7/files/patch-powerpc64__bsd.mk | 15 +++++++++++++++
 comms/snap7/files/patch-powerpc__bsd.mk   | 15 +++++++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/comms/snap7/Makefile b/comms/snap7/Makefile
index f2476426b3d0..f3f41acbeb59 100644
--- a/comms/snap7/Makefile
+++ b/comms/snap7/Makefile
@@ -12,7 +12,7 @@ COMMENT=	Multi-platform Ethernet S7 PLC communication suite
 
 LICENSE=	GPLv3
 
-ONLY_FOR_ARCHS=	amd64 armv6 i386 mips
+ONLY_FOR_ARCHS=	amd64 armv6 i386 mips powerpc64 powerpc
 
 USES=		gmake
 USE_LDCONFIG=	yes
diff --git a/comms/snap7/files/patch-powerpc64__bsd.mk b/comms/snap7/files/patch-powerpc64__bsd.mk
new file mode 100644
index 000000000000..ff54b65e40d5
--- /dev/null
+++ b/comms/snap7/files/patch-powerpc64__bsd.mk
@@ -0,0 +1,15 @@
+--- powerpc64_bsd.mk.orig	2016-12-20 10:44:15 UTC
++++ powerpc64_bsd.mk
+@@ -0,0 +1,12 @@
++##
++## powerpc64 BSD based (FreeBSD etc.) Makefile
++## Use gmake instead of make
++##
++TargetCPU  :=powerpc64
++OS         :=bsd
++CXXFLAGS   := -O3 -fPIC -pedantic 
++
++# Standard part
++
++include common.mk
++
diff --git a/comms/snap7/files/patch-powerpc__bsd.mk b/comms/snap7/files/patch-powerpc__bsd.mk
new file mode 100644
index 000000000000..2215e926f14d
--- /dev/null
+++ b/comms/snap7/files/patch-powerpc__bsd.mk
@@ -0,0 +1,15 @@
+--- powerpc_bsd.mk.orig	2016-12-20 10:44:15 UTC
++++ powerpc_bsd.mk
+@@ -0,0 +1,12 @@
++##
++## powerpc BSD based (FreeBSD etc.) Makefile
++## Use gmake instead of make
++##
++TargetCPU  :=powerpc
++OS         :=bsd
++CXXFLAGS   := -O3 -fPIC -pedantic 
++
++# Standard part
++
++include common.mk
++


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