summaryrefslogtreecommitdiff
path: root/biology/vcflib/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2023-01-30 16:03:46 -0600
committerJason W. Bacon <jwb@FreeBSD.org>2023-01-30 16:05:19 -0600
commit4512fe6572782dda2df7fb1d3af56144f5d1c4a4 (patch)
treec11162911c9642ef13218a50a96af72f863cff0e /biology/vcflib/files/patch-CMakeLists.txt
parentgraphics/qiv: Update to 2.3.3 (diff)
biology/vcflib: Update to 1.0.6
A few minor upstream fixes Unbundle WFA2-lib, which may be useful outside vcflib Update some submodules to latest commit (no recent releases available)
Diffstat (limited to 'biology/vcflib/files/patch-CMakeLists.txt')
-rw-r--r--biology/vcflib/files/patch-CMakeLists.txt23
1 files changed, 10 insertions, 13 deletions
diff --git a/biology/vcflib/files/patch-CMakeLists.txt b/biology/vcflib/files/patch-CMakeLists.txt
index 6de651bd1d98..5a7824a2dfa0 100644
--- a/biology/vcflib/files/patch-CMakeLists.txt
+++ b/biology/vcflib/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2023-01-16 08:55:05 UTC
+--- CMakeLists.txt.orig 2023-01-29 04:57:02 UTC
+++ CMakeLists.txt
-@@ -1,7 +1,7 @@
+@@ -9,7 +9,7 @@
cmake_minimum_required(VERSION 3.16)
project(vcflib)
@@ -9,15 +9,12 @@
include(ExternalProject)
include(FeatureSummary)
-@@ -358,9 +358,9 @@ endif(HTSLIB_LOCAL)
+@@ -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
- # FIXME: hard-coded compile switches need to be fixed upstream
- if (ASAN)
-- set(wfa_MAKE_ARGS BUILD_WFA_PARALLEL=1 BUILD_TOOLS=0 BUILD_EXAMPLES=0 CC=gcc CC_FLAGS=-fPIC setup asan lib_wfa)
-+ set(wfa_MAKE_ARGS BUILD_WFA_PARALLEL=1 BUILD_TOOLS=0 BUILD_EXAMPLES=0 CC_FLAGS=-fPIC setup asan lib_wfa)
- else()
-- set(wfa_MAKE_ARGS BUILD_WFA_PARALLEL=1 BUILD_TOOLS=0 BUILD_EXAMPLES=0 CC=gcc CC_FLAGS=-fPIC setup lib_wfa)
-+ set(wfa_MAKE_ARGS BUILD_WFA_PARALLEL=1 BUILD_TOOLS=0 BUILD_EXAMPLES=0 CC_FLAGS=-fPIC setup lib_wfa)
- endif()
-
- # if ((${CMAKE_BUILD_TYPE} MATCHES Release) OR (${CMAKE_BUILD_TYPE} MATCHES RelWithDebInfo))
+ include(CheckIPOSupported) # adds lto
+ check_ipo_supported(RESULT ipo_supported OUTPUT output)