git: 3b6e1ad43060 - main - net/eternalterminal: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Feb 2022 22:36:09 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b6e1ad43060826802b0d58ea2de4b63452b8e02 commit 3b6e1ad43060826802b0d58ea2de4b63452b8e02 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-02-07 22:29:43 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-02-07 22:29:43 +0000 net/eternalterminal: fix build on powerpc* Use correct architecture names. --- net/eternalterminal/files/patch-cmake_FindUnwind.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/net/eternalterminal/files/patch-cmake_FindUnwind.cmake b/net/eternalterminal/files/patch-cmake_FindUnwind.cmake new file mode 100644 index 000000000000..c3c5a7d5e37d --- /dev/null +++ b/net/eternalterminal/files/patch-cmake_FindUnwind.cmake @@ -0,0 +1,14 @@ +--- cmake/FindUnwind.cmake.orig 2022-02-07 18:57:25 UTC ++++ cmake/FindUnwind.cmake +@@ -19,9 +19,9 @@ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR + set (Unwind_ARCH "unwind-x86_64" "unwind-x86") + elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$") + set (Unwind_ARCH "unwind-x86" "unwind-x86_64") +-elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64") ++elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc64|ppc64)") + set (Unwind_ARCH "unwind-ppc64") +-elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc") ++elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)") + set (Unwind_ARCH "unwind-ppc32") + elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^mips") + set (Unwind_ARCH "unwind-mips")