git: eb340a643efc - main - biology/wfa2-lib: Unbreak build on aarch64, probably others
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Jan 2023 15:19:36 UTC
The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb340a643efc7a5d40858fb9abc059bb9face05c commit eb340a643efc7a5d40858fb9abc059bb9face05c Author: Jason W. Bacon <jwb@FreeBSD.org> AuthorDate: 2023-01-31 15:17:52 +0000 Commit: Jason W. Bacon <jwb@FreeBSD.org> CommitDate: 2023-01-31 15:17:52 +0000 biology/wfa2-lib: Unbreak build on aarch64, probably others Patch out hard-coded -march=native, not supported by clang aarch64 Reported by: pkg-fallout --- biology/wfa2-lib/Makefile | 1 + biology/wfa2-lib/files/patch-CMakeLists.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/biology/wfa2-lib/Makefile b/biology/wfa2-lib/Makefile index cb334b9bf0c3..2300f379ec6f 100644 --- a/biology/wfa2-lib/Makefile +++ b/biology/wfa2-lib/Makefile @@ -1,6 +1,7 @@ PORTNAME= wfa2-lib DISTVERSIONPREFIX= v DISTVERSION= 2.3.2 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org diff --git a/biology/wfa2-lib/files/patch-CMakeLists.txt b/biology/wfa2-lib/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..8b71ad656f0a --- /dev/null +++ b/biology/wfa2-lib/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-01-31 15:02:27 UTC ++++ CMakeLists.txt +@@ -55,7 +55,7 @@ if(NOT CMAKE_BUILD_TYPE) + endif() + + if (${CMAKE_BUILD_TYPE} MATCHES Release) +- set(OPTIMIZE_FLAGS "${OPTIMIZE_FLAGS} -march=native -D_FILE_OFFSET_BITS=64") ++ set(OPTIMIZE_FLAGS "${OPTIMIZE_FLAGS} -D_FILE_OFFSET_BITS=64") + endif() + + if ((${CMAKE_BUILD_TYPE} MATCHES Release) OR (${CMAKE_BUILD_TYPE} MATCHES RelWithDebInfo))