git: aa1a802b66ab - main - math/symengine: Update 0.8.1 -> 0.9.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 30 Apr 2022 18:01:03 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa1a802b66ab1b223e75376409680c0dcaa45652

commit aa1a802b66ab1b223e75376409680c0dcaa45652
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-30 18:00:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-30 18:00:59 +0000

    math/symengine: Update 0.8.1 -> 0.9.0
    
    Reported by:    portscout
---
 math/symengine/Makefile                   |  8 +++--
 math/symengine/distinfo                   |  6 ++--
 math/symengine/files/patch-CMakeLists.txt | 13 ++++++++
 math/symengine/pkg-plist                  | 52 +++++++++++++++++++++++++++++--
 4 files changed, 72 insertions(+), 7 deletions(-)

diff --git a/math/symengine/Makefile b/math/symengine/Makefile
index 02bee2583aab..1bcac467c742 100644
--- a/math/symengine/Makefile
+++ b/math/symengine/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	symengine
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.8.1
+DISTVERSION=	0.9.0
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,6 +9,9 @@ COMMENT=	Fast symbolic manipulation library, written in C++
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+LIB_DEPENDS=	libboost_serialization.so:devel/boost-libs \
+		libgmp.so:math/gmp
+
 USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
@@ -35,7 +38,8 @@ ECM_LIB_DEPENDS=	libecm.so:math/gmp-ecm
 
 LLVM_DESC=		Build with LLVM
 LLVM_CMAKE_BOOL=	WITH_LLVM
-LLVM_CMAKE_ON=		-DLLVM_INCLUDE_DIRS:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/include
+LLVM_CMAKE_ON=		-DLLVM_INCLUDE_DIRS:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/include \
+			-DFREEBSD_LLVM_VERSION=${LLVM_VERSION}
 LLVM_BUILD_DEPENDS=	llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION}
 
 MPC_DESC=		Build with MPC
diff --git a/math/symengine/distinfo b/math/symengine/distinfo
index b89ce8d92112..65bccd283df8 100644
--- a/math/symengine/distinfo
+++ b/math/symengine/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634862847
-SHA256 (symengine-symengine-v0.8.1_GH0.tar.gz) = 41eb6ae6901c09e53d7f61f0758f9201e81fc534bfeecd4b2bd4b4e6f6768693
-SIZE (symengine-symengine-v0.8.1_GH0.tar.gz) = 733007
+TIMESTAMP = 1651339442
+SHA256 (symengine-symengine-v0.9.0_GH0.tar.gz) = dcf174ac708ed2acea46691f6e78b9eb946d8a2ba62f75e87cf3bf4f0d651724
+SIZE (symengine-symengine-v0.9.0_GH0.tar.gz) = 878574
diff --git a/math/symengine/files/patch-CMakeLists.txt b/math/symengine/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..ace2eaf07b25
--- /dev/null
+++ b/math/symengine/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+- fix requested LLVM version
+
+--- CMakeLists.txt.orig	2022-04-30 17:48:46 UTC
++++ CMakeLists.txt
+@@ -396,7 +396,7 @@ set(WITH_LLVM no
+ 
+ if (WITH_LLVM)
+     set(SYMENGINE_LLVM_COMPONENTS asmparser core executionengine instcombine mcjit native nativecodegen scalaropts vectorize support transformutils)
+-    find_package(LLVM REQUIRED ${SYMENGINE_LLVM_COMPONENTS})
++    find_package(LLVM ${FREEBSD_LLVM_VERSION} REQUIRED ${SYMENGINE_LLVM_COMPONENTS})
+     set(LLVM_MINIMUM_REQUIRED_VERSION "3.8")
+     if (LLVM_PACKAGE_VERSION LESS ${LLVM_MINIMUM_REQUIRED_VERSION})
+ 	    message(FATAL_ERROR "LLVM version found ${LLVM_PACKAGE_VERSION} is too old.
diff --git a/math/symengine/pkg-plist b/math/symengine/pkg-plist
index e16fc65af316..2ce1e51ecf23 100644
--- a/math/symengine/pkg-plist
+++ b/math/symengine/pkg-plist
@@ -64,12 +64,14 @@ include/symengine/real_double.h
 include/symengine/real_mpfr.h
 include/symengine/refine.h
 include/symengine/rings.h
+include/symengine/serialize-cereal.h
 include/symengine/series.h
 include/symengine/series_flint.h
 include/symengine/series_generic.h
 include/symengine/series_piranha.h
 include/symengine/series_visitor.h
 include/symengine/sets.h
+include/symengine/simplify.h
 include/symengine/solve.h
 include/symengine/subs.h
 include/symengine/symbol.h
@@ -81,12 +83,58 @@ include/symengine/symengine_exception.h
 include/symengine/symengine_export.h
 include/symengine/symengine_rcp.h
 include/symengine/test_visitors.h
+include/symengine/tuple.h
 include/symengine/type_codes.inc
+include/symengine/utilities/cereal/include/cereal/access.hpp
+include/symengine/utilities/cereal/include/cereal/archives/adapters.hpp
+include/symengine/utilities/cereal/include/cereal/archives/binary.hpp
+include/symengine/utilities/cereal/include/cereal/archives/json.hpp
+include/symengine/utilities/cereal/include/cereal/archives/portable_binary.hpp
+include/symengine/utilities/cereal/include/cereal/archives/xml.hpp
+include/symengine/utilities/cereal/include/cereal/cereal.hpp
+include/symengine/utilities/cereal/include/cereal/details/helpers.hpp
+include/symengine/utilities/cereal/include/cereal/details/polymorphic_impl.hpp
+include/symengine/utilities/cereal/include/cereal/details/polymorphic_impl_fwd.hpp
+include/symengine/utilities/cereal/include/cereal/details/static_object.hpp
+include/symengine/utilities/cereal/include/cereal/details/traits.hpp
+include/symengine/utilities/cereal/include/cereal/details/util.hpp
+include/symengine/utilities/cereal/include/cereal/macros.hpp
+include/symengine/utilities/cereal/include/cereal/specialize.hpp
+include/symengine/utilities/cereal/include/cereal/types/array.hpp
+include/symengine/utilities/cereal/include/cereal/types/atomic.hpp
+include/symengine/utilities/cereal/include/cereal/types/base_class.hpp
+include/symengine/utilities/cereal/include/cereal/types/bitset.hpp
+include/symengine/utilities/cereal/include/cereal/types/boost_variant.hpp
+include/symengine/utilities/cereal/include/cereal/types/chrono.hpp
+include/symengine/utilities/cereal/include/cereal/types/common.hpp
+include/symengine/utilities/cereal/include/cereal/types/complex.hpp
+include/symengine/utilities/cereal/include/cereal/types/concepts/pair_associative_container.hpp
+include/symengine/utilities/cereal/include/cereal/types/deque.hpp
+include/symengine/utilities/cereal/include/cereal/types/forward_list.hpp
+include/symengine/utilities/cereal/include/cereal/types/functional.hpp
+include/symengine/utilities/cereal/include/cereal/types/list.hpp
+include/symengine/utilities/cereal/include/cereal/types/map.hpp
+include/symengine/utilities/cereal/include/cereal/types/memory.hpp
+include/symengine/utilities/cereal/include/cereal/types/optional.hpp
+include/symengine/utilities/cereal/include/cereal/types/polymorphic.hpp
+include/symengine/utilities/cereal/include/cereal/types/queue.hpp
+include/symengine/utilities/cereal/include/cereal/types/set.hpp
+include/symengine/utilities/cereal/include/cereal/types/stack.hpp
+include/symengine/utilities/cereal/include/cereal/types/string.hpp
+include/symengine/utilities/cereal/include/cereal/types/tuple.hpp
+include/symengine/utilities/cereal/include/cereal/types/unordered_map.hpp
+include/symengine/utilities/cereal/include/cereal/types/unordered_set.hpp
+include/symengine/utilities/cereal/include/cereal/types/utility.hpp
+include/symengine/utilities/cereal/include/cereal/types/valarray.hpp
+include/symengine/utilities/cereal/include/cereal/types/variant.hpp
+include/symengine/utilities/cereal/include/cereal/types/vector.hpp
+include/symengine/utilities/cereal/include/cereal/version.hpp
+include/symengine/utilities/stream_fmt.h
 include/symengine/visitor.h
 lib/cmake/symengine/SymEngineConfig.cmake
 lib/cmake/symengine/SymEngineConfigVersion.cmake
 lib/cmake/symengine/SymEngineTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/symengine/SymEngineTargets.cmake
 lib/libsymengine.so
-lib/libsymengine.so.0.8
-lib/libsymengine.so.0.8.1
+lib/libsymengine.so.0.9
+lib/libsymengine.so.0.9.0