git: e503a6d6bf8f - main - biology/hyphy: fix build on amd64 / i386

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 05 Jan 2026 13:57:08 UTC
The branch main has been updated by pkubaj:

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

commit e503a6d6bf8f2ec69aa2fd3b29119bb4cb169290
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-01-05 11:33:11 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-01-05 13:57:01 +0000

    biology/hyphy: fix build on amd64 / i386
    
    c++: error: unsupported option '-mno-sse3' for target 'powerpc64le-unknown-freebsd15.0'
---
 biology/hyphy/files/patch-CMakeLists.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/biology/hyphy/files/patch-CMakeLists.txt b/biology/hyphy/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..a0c2f4ef3473
--- /dev/null
+++ b/biology/hyphy/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+--- CMakeLists.txt.orig	2026-01-05 11:23:59 UTC
++++ CMakeLists.txt
+@@ -161,10 +161,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_CO
+             add_compile_definitions(_SLKP_USE_SSE_INTRINSICS)
+         endif()
+         set(CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
+-    else()
+-        if(NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
+-            list(APPEND COMMON_COMPILE_FLAGS "-mno-sse3")
+-        endif()
+     endif()
+ 
+ endif()
+@@ -366,4 +362,4 @@ add_test(NAME GARD COMMAND hyphy tests/hbltests/libv3/
+ add_test(CONTRAST-FEL hyphy tests/hbltests/libv3/CFEL.wbf)
+ add_test(FADE hyphy tests/hbltests/libv3/FADE.wbf)
+ add_test(NAME GARD COMMAND hyphy tests/hbltests/libv3/GARD.wbf "ENV=TOLERATE_NUMERICAL_ERRORS=1;")
+-add_test(ABSREL hyphy tests/hbltests/libv3/ABSREL.wbf)
+\ No newline at end of file
++add_test(ABSREL hyphy tests/hbltests/libv3/ABSREL.wbf)