mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
math/boolector: Update 3.0.0-239 -> 3.1.0
Reported by: portscout
This commit is contained in:
parent
de497e3486
commit
edeae32693
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518999
@ -1,9 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= boolector
|
||||
DISTVERSION= 3.0.0-239
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONSUFFIX= -g0b4b8540
|
||||
DISTVERSION= 3.1.0
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@ -12,8 +10,10 @@ COMMENT= Satisfiability Modulo Theories (SMT) solver
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= picosat>0:math/picosat
|
||||
LIB_DEPENDS= libbtor2parser.so:math/btor2tools
|
||||
BUILD_DEPENDS= cadical>0:math/cadical
|
||||
LIB_DEPENDS= libbtor2parser.so:math/btor2tools \
|
||||
libminisat.so:math/minisat \
|
||||
libpicosat.so:math/picosat
|
||||
|
||||
USES= cmake:noninja compiler:c++11-lang # ninja fails to build tests
|
||||
USE_GITHUB= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1560489123
|
||||
SHA256 (Boolector-boolector-3.0.0-239-g0b4b8540_GH0.tar.gz) = f0de750314c8075f6adb9f88a72c7efb897e52d53dc06b41b9beceec0f163765
|
||||
SIZE (Boolector-boolector-3.0.0-239-g0b4b8540_GH0.tar.gz) = 1372029
|
||||
TIMESTAMP = 1575434687
|
||||
SHA256 (Boolector-boolector-3.1.0_GH0.tar.gz) = 0c799f4e835e7f20ae7ecf7c3c8a99b9638b01cfe7b7f5dd1bc93ac478a0b06c
|
||||
SIZE (Boolector-boolector-3.1.0_GH0.tar.gz) = 1548782
|
||||
|
@ -1,17 +1,28 @@
|
||||
--- CMakeLists.txt.orig 2019-05-30 02:33:58 UTC
|
||||
--- CMakeLists.txt.orig 2019-12-02 22:50:20 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -402,11 +402,15 @@ configure_file(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/src/btorconfig.h)
|
||||
@@ -434,20 +434,24 @@ configure_file(
|
||||
# Regression tests
|
||||
|
||||
# Enable CTest
|
||||
# Get and configure google test
|
||||
+if (BUILD_TESTING)
|
||||
enable_testing()
|
||||
include(cmake/googletest.cmake)
|
||||
fetch_googletest(
|
||||
${PROJECT_SOURCE_DIR}/cmake
|
||||
${PROJECT_BINARY_DIR}/googletest
|
||||
)
|
||||
|
||||
-enable_testing()
|
||||
+ enable_testing()
|
||||
+endif(BUILD_TESTING)
|
||||
|
||||
#-----------------------------------------------------------------------------#
|
||||
# Source directories
|
||||
|
||||
include_directories(src ${CMAKE_CURRENT_BINARY_DIR}/src)
|
||||
add_subdirectory(src)
|
||||
-add_subdirectory(test)
|
||||
+if (BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
+ add_subdirectory(test)
|
||||
+endif(BUILD_TESTING)
|
||||
if(PYTHON)
|
||||
add_subdirectory(src/api/python)
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- src/CMakeLists.txt.orig 2019-06-14 07:01:21 UTC
|
||||
--- src/CMakeLists.txt.orig 2019-12-04 04:46:17 UTC
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -129,7 +129,7 @@ set_target_properties(boolector-bin
|
||||
PROPERTIES
|
||||
OUTPUT_NAME boolector
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
-if(NOT SHARED AND NOT APPLE)
|
||||
+if(NOT SHARED AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
set_target_properties(boolector-bin
|
||||
PROPERTIES
|
||||
LINK_FLAGS "-static -Wl,--no-export-dynamic"
|
||||
@@ -195,7 +195,7 @@ target_link_libraries(btorimc boolector)
|
||||
#-----------------------------------------------------------------------------#
|
||||
# Static binaries
|
||||
|
||||
-if(NOT BUILD_SHARED_LIBS AND NOT APPLE)
|
||||
+if(NOT BUILD_SHARED_LIBS AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
set(BTOR_STATIC_FLAGS "-static")
|
||||
set(STATIC_TARGETS boolector-bin btormc btoruntrace btorimc)
|
||||
|
||||
|
@ -6,4 +6,4 @@ lib/cmake/Boolector/BoolectorConfig.cmake
|
||||
lib/cmake/Boolector/BoolectorConfigVersion.cmake
|
||||
lib/cmake/Boolector/BoolectorTargets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/Boolector/BoolectorTargets.cmake
|
||||
lib/libboolector.a
|
||||
lib/libboolector.so
|
||||
|
Loading…
Reference in New Issue
Block a user