git: 0d9ff1bcabfc - main - biology/vcflib: Unbreak build on aarch64, probably others
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Jan 2023 16:25:34 UTC
The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d9ff1bcabfc0d026a6505fe7d9b2ccd7cf57c1f commit 0d9ff1bcabfc0d026a6505fe7d9b2ccd7cf57c1f Author: Jason W. Bacon <jwb@FreeBSD.org> AuthorDate: 2023-01-31 16:24:42 +0000 Commit: Jason W. Bacon <jwb@FreeBSD.org> CommitDate: 2023-01-31 16:25:33 +0000 biology/vcflib: Unbreak build on aarch64, probably others Patch out hard-coded -march=native, not supported by clang aarch64 --- biology/vcflib/Makefile | 1 + biology/vcflib/files/patch-CMakeLists.txt | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/biology/vcflib/Makefile b/biology/vcflib/Makefile index 311b78bac7ce..76e01dc75cbb 100644 --- a/biology/vcflib/Makefile +++ b/biology/vcflib/Makefile @@ -1,6 +1,7 @@ PORTNAME= vcflib DISTVERSIONPREFIX= v DISTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org diff --git a/biology/vcflib/files/patch-CMakeLists.txt b/biology/vcflib/files/patch-CMakeLists.txt index 5a7824a2dfa0..263e3dbee0f9 100644 --- a/biology/vcflib/files/patch-CMakeLists.txt +++ b/biology/vcflib/files/patch-CMakeLists.txt @@ -9,12 +9,12 @@ include(ExternalProject) include(FeatureSummary) -@@ -38,7 +38,7 @@ option(PROFILING "Enable profiling" OFF) - option(GPROF "Enable gprof profiling" OFF) - option(ASAN "Use address sanitiser" OFF) - option(ZIG "Set to OFF to disable the zig code" ON) --option(WFA_GITMODULE "Force local git submodule for WFA2LIB" ON) # disable in distros, you may need to add path to WFA_INCLUDE_DIRS -+option(WFA_GITMODULE "Force local git submodule for WFA2LIB" OFF) # disable in distros, you may need to add path to WFA_INCLUDE_DIRS +@@ -69,7 +69,7 @@ if(NOT CMAKE_BUILD_TYPE) + endif() + + if (${CMAKE_BUILD_TYPE} MATCHES Release) +- set(EXTRA_FLAGS "-march=native -D_FILE_OFFSET_BITS=64") ++ set(EXTRA_FLAGS "-D_FILE_OFFSET_BITS=64") + # set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG") # reset CXX_FLAGS to replace -O3 with -Ofast + endif() - include(CheckIPOSupported) # adds lto - check_ipo_supported(RESULT ipo_supported OUTPUT output)