Date: Fri, 1 Oct 2021 14:46:41 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 421f92a120e9 - main - science/openems: fix build on powerpc64* Message-ID: <202110011446.191EkfT1030496@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=421f92a120e9986884c1842a43bd99d2c114abf1 commit 421f92a120e9986884c1842a43bd99d2c114abf1 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-01 14:39:19 +0000 Commit: Piotr Kubaj <pkubaj@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")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110011446.191EkfT1030496>