diff options
-rw-r--r-- | biology/spoa/Makefile | 3 | ||||
-rw-r--r-- | biology/spoa/files/patch-CMakeLists.txt | 17 |
2 files changed, 16 insertions, 4 deletions
diff --git a/biology/spoa/Makefile b/biology/spoa/Makefile index cca49a95a263..41bdf70f51f7 100644 --- a/biology/spoa/Makefile +++ b/biology/spoa/Makefile @@ -2,6 +2,7 @@ PORTNAME= spoa DISTVERSION= 4.0.7 +PORTREVISION= 2 CATEGORIES= biology MAINTAINER= yuri@FreeBSD.org @@ -13,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bioparser>0:biology/bioparser \ ${LOCALBASE}/include/biosoup/nucleic_acid.hpp:biology/biosoup \ cereal>0:devel/cereal \ - cpu_features>0:devel/cpu_features \ simde>0:devel/simde +LIB_DEPENDS= libcpu_features.so:devel/cpu_features RUN_DEPENDS= cereal>0:devel/cereal TEST_DEPENDS= googletest>0:devel/googletest diff --git a/biology/spoa/files/patch-CMakeLists.txt b/biology/spoa/files/patch-CMakeLists.txt index a94d9aae7e0e..a5e7af7845e8 100644 --- a/biology/spoa/files/patch-CMakeLists.txt +++ b/biology/spoa/files/patch-CMakeLists.txt @@ -14,7 +14,7 @@ add_library(${PROJECT_NAME} src/alignment_engine.cpp -@@ -55,8 +56,8 @@ add_library(${PROJECT_NAME} +@@ -55,19 +56,19 @@ add_library(${PROJECT_NAME} src/dispatcher.cpp) target_include_directories(${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> @@ -24,8 +24,10 @@ + #$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/vendor/cpu_features/include> $<INSTALL_INTERFACE:include>) target_link_libraries(${PROJECT_NAME} - cereal) -@@ -65,9 +66,9 @@ if (BUILD_SHARED_LIBS) +- cereal) ++ cereal::cereal) + if (BUILD_SHARED_LIBS) + set_property(TARGET ${PROJECT_NAME} PROPERTY SOVERSION "7.0.0") endif () if (spoa_generate_dispatch) @@ -38,6 +40,15 @@ list(APPEND ARCHITECTURES avx2 sse4.1 sse2) foreach(arch IN LISTS ARCHITECTURES) +@@ -78,7 +79,7 @@ if (spoa_generate_dispatch) + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/vendor/simde> + $<INSTALL_INTERFACE:include>) + target_link_libraries(${PROJECT_NAME}_${arch} +- cereal) ++ cereal::cereal) + set_target_properties(${PROJECT_NAME}_${arch} PROPERTIES + COMPILE_FLAGS "-m${arch}") + if (BUILD_SHARED_LIBS) @@ -92,8 +93,8 @@ if (spoa_generate_dispatch) ${PROJECT_NAME}_sse4.1 ${PROJECT_NAME}_sse2) |