diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-05-27 04:13:56 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-05-27 04:24:05 +0000 |
commit | d80f50246cbf0cafe274057987c9f34811ce21f5 (patch) | |
tree | 8a1d079ca47b3009134f2ecbe8cec027bb1ab21c | |
parent | 372de0cae98a1c7a2ea96c53082c071ff8c645d4 (diff) | |
download | ports-d80f50246cbf0cafe274057987c9f34811ce21f5.tar.gz ports-d80f50246cbf0cafe274057987c9f34811ce21f5.zip |
biology/libcombine: Fix build with libsbml 5.20.0
===> Configuring for libcombine-0.2.20
===> Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/biology/libcombine/work/.build
-- The CXX compiler identification is Clang 13.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at /usr/local/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:51 (message):
check_source_compiles: C: needs to be enabled before use.
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
CMakeModules/FindLIBXML.cmake:115 (CHECK_C_SOURCE_COMPILES)
/usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/local/lib/cmake/sbml-static-config.cmake:14 (find_dependency)
CMakeModules/FindLIBSBML.cmake:42 (find_package)
CMakeLists.txt:308 (find_package)
-- LIBXML_LIBXML_TEST =
CMake Error at /usr/local/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:51 (message):
check_source_compiles: C: needs to be enabled before use.
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
CMakeModules/FindLIBXML.cmake:125 (CHECK_C_SOURCE_COMPILES)
/usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/local/lib/cmake/sbml-static-config.cmake:14 (find_dependency)
CMakeModules/FindLIBSBML.cmake:42 (find_package)
CMakeLists.txt:308 (find_package)
-- LIBXML_LIBXML_TEST2 =
CMake Error at CMakeModules/FindLIBXML.cmake:132 (message):
Unable to compile a test executable against LIBXML
LIBXML_INCLUDE_DIR = /usr/local/include/libxml2
LIBXML_LIBRARY = /usr/local/lib/libxml2.so
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/local/lib/cmake/sbml-static-config.cmake:14 (find_dependency)
CMakeModules/FindLIBSBML.cmake:42 (find_package)
CMakeLists.txt:308 (find_package)
-- Configuring incomplete, errors occurred!
*** Error code 1
Stop.
-rw-r--r-- | biology/libcombine/files/patch-CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/biology/libcombine/files/patch-CMakeLists.txt b/biology/libcombine/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..bec79c56523e --- /dev/null +++ b/biology/libcombine/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-12-07 09:35:06 UTC ++++ CMakeLists.txt +@@ -44,7 +44,7 @@ set(LIBCOMBINE_VERSION "${LIBCOMBINE_VERSION_MAJOR}.${ + set(PACKAGE_NAME "libCombine") + + project(libCombine VERSION "${LIBCOMBINE_VERSION_MAJOR}.${LIBCOMBINE_VERSION_MINOR}.${LIBCOMBINE_VERSION_PATCH}" +- LANGUAGES CXX) ++ LANGUAGES C CXX) + + set(CMAKE_CXX_STANDARD 11) + set(CMAKE_CXX_STANDARD_REQUIRED ON) |