git: 421f92a120e9 - main - science/openems: fix build on powerpc64*
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Oct 1 14:46:42 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=421f92a120e9986884c1842a43bd99d2c114abf1
commit 421f92a120e9986884c1842a43bd99d2c114abf1
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-10-01 14:39:19 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-10-01 14:39:19 +0000
science/openems: fix build on powerpc64*
Add FreeBSD names for 64-bit POWER to the check.
---
science/openems/files/patch-CMakeLists.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/science/openems/files/patch-CMakeLists.txt b/science/openems/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..bb72e06dcc40
--- /dev/null
+++ b/science/openems/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2021-10-01 11:36:55 UTC
++++ CMakeLists.txt
+@@ -157,7 +157,7 @@ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
+ set(ARCH "x86_64")
+ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
+ set(ARCH "x86_64")
+-elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64")
++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(ppc64.*|PPC64.*|powerpc64.*)")
+ set(ARCH "ppc64")
+ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64le")
+ set(ARCH "ppc64")
More information about the dev-commits-ports-all
mailing list