mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
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.
This commit is contained in:
parent
372de0cae9
commit
d80f50246c
11
biology/libcombine/files/patch-CMakeLists.txt
Normal file
11
biology/libcombine/files/patch-CMakeLists.txt
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user