diff --git a/biology/hyphy/Makefile b/biology/hyphy/Makefile index 62e26956129f..9c44e24985ad 100644 --- a/biology/hyphy/Makefile +++ b/biology/hyphy/Makefile @@ -1,28 +1,28 @@ PORTNAME= hyphy -DISTVERSION= 2.5.75 +DISTVERSION= 2.5.76 CATEGORIES= biology MAINTAINER= jrm@FreeBSD.org COMMENT= Hypothesis testing using Phylogenies WWW= https://www.hyphy.org/ \ https://github.com/veg/hyphy/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libcurl.so:ftp/curl TEST_DEPENDS= bash:shells/bash USES= cmake:insource,testing localbase:ldflags # tests fail in outsource build, see https://github.com/veg/hyphy/issues/1528 USE_GITHUB= yes GH_ACCOUNT= veg OPTIONS_DEFINE= AVX AVX_DESC= Advanced vector extensions support AVX_CMAKE_BOOL_OFF= NOAVX .include diff --git a/biology/hyphy/distinfo b/biology/hyphy/distinfo index c62a818945c5..3bcc8e9eb6fe 100644 --- a/biology/hyphy/distinfo +++ b/biology/hyphy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755287249 -SHA256 (veg-hyphy-2.5.75_GH0.tar.gz) = 0acfc26d428cf2b9b8ff070528a22e40529d614bf114ce05c49b5d7a51ebda30 -SIZE (veg-hyphy-2.5.75_GH0.tar.gz) = 4093653 +TIMESTAMP = 1755289798 +SHA256 (veg-hyphy-2.5.76_GH0.tar.gz) = d3f649b304e6ed408ee25f568de8361d43fb0a20d689243eba227d63fe6926ae +SIZE (veg-hyphy-2.5.76_GH0.tar.gz) = 4027248 diff --git a/biology/hyphy/files/patch-CMakeLists.txt b/biology/hyphy/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..0c926e529c55 --- /dev/null +++ b/biology/hyphy/files/patch-CMakeLists.txt @@ -0,0 +1,27 @@ +--- CMakeLists.txt.orig 2025-08-15 20:40:45 UTC ++++ CMakeLists.txt +@@ -83,7 +83,7 @@ int main() { + if(HYPHY_HAVE_NEON) + add_compile_definitions(_SLKP_USE_ARM_NEON) + if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") +- list(APPEND HYPHY_SIMD_FLAGS "-mcpu=native;-mtune=native") ++ list(APPEND HYPHY_SIMD_FLAGS "-mtune=native") + endif() + endif() + set(CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS}) +@@ -91,7 +91,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_CO + + if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + if(NOT HYPHY_HAVE_NEON AND NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten") +- list(APPEND COMMON_COMPILE_FLAGS "-march=native" "-mcpu=native" "-mtune=native") ++ list(APPEND COMMON_COMPILE_FLAGS "-march=native" "-mtune=native") + endif() + if(NOT NOAVX) + set(OLD_CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS}) +@@ -332,4 +332,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)