Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2024 19:03:46 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2a403e48d804 - main - math/z3: Update to 4.13.0
Message-ID:  <202404191903.43JJ3kBd037497@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

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

commit 2a403e48d8046a902e083e0db0ba3e013d438450
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-18 12:14:35 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-19 19:03:31 +0000

    math/z3: Update to 4.13.0
---
 math/z3/Makefile                        | 33 +++++----------------------------
 math/z3/distinfo                        |  6 +++---
 math/z3/files/patch-scripts_mk__util.py | 13 -------------
 math/z3/pkg-plist                       |  9 +++++++--
 4 files changed, 15 insertions(+), 46 deletions(-)

diff --git a/math/z3/Makefile b/math/z3/Makefile
index f716e2716d9e..d58e82b1d59a 100644
--- a/math/z3/Makefile
+++ b/math/z3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	z3
 DISTVERSIONPREFIX=	z3-
-DISTVERSION=	4.12.4
+DISTVERSION=	4.13.0
 CATEGORIES=	math
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -10,41 +10,18 @@ WWW=		https://github.com/Z3Prover/z3
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BROKEN_i386=	unknown flag -msimd128
-
-USES=		compiler:c++11-lang python:build
+USES=		cmake compiler:c++11-lang localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	Z3Prover
 
-HAS_CONFIGURE=		yes
-CONFIGURE_ARGS=		--prefix=${PREFIX}
-USE_LDCONFIG=		yes
-
-OPTIONS_DEFINE=		DEBUG STATIC GMP
+OPTIONS_DEFINE=		GMP
 
 OPTIONS_SUB=		yes
 
-DEBUG_CONFIGURE_ON=	--debug
-DEBUG_VARS=		with_debug=yes
-
-STATIC_DESC=		Build static z3 library
-STATIC_CONFIGURE_ON=	--staticlib
-
 GMP_DESC=		Use GMP library for AP arithmetic
-GMP_CONFIGURE_ON=	--gmp
-GMP_USES=		localbase:ldflags
+GMP_CMAKE_BOOL=		Z3_USE_LIB_GMP
 GMP_LIB_DEPENDS=	libgmp.so:math/gmp
 
-CXXFLAGS_i386=	-fPIC
-CXXFLAGS_armv7=	-fPIC
-CXXFLAGS_powerpc=	-fPIC
-LDFLAGS_i386=		-Wl,-znotext
-BUILD_WRKSRC=		${WRKSRC}/build
-INSTALL_WRKSRC=		${WRKSRC}/build
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/z3
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libz3.so
-	${LN} -s libz3.so ${STAGEDIR}${PREFIX}/lib/libz3.so.0
+CMAKE_ARGS=		-DCMAKE_INSTALL_PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig
 
 .include <bsd.port.mk>
diff --git a/math/z3/distinfo b/math/z3/distinfo
index 982910ae058f..57345d04df5a 100644
--- a/math/z3/distinfo
+++ b/math/z3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703882277
-SHA256 (Z3Prover-z3-z3-4.12.4_GH0.tar.gz) = 25e9b18d04ee22f1d872dfe0daaf4c39034744525214e34fedd206e25140e96e
-SIZE (Z3Prover-z3-z3-4.12.4_GH0.tar.gz) = 5471960
+TIMESTAMP = 1713421143
+SHA256 (Z3Prover-z3-z3-4.13.0_GH0.tar.gz) = 01bcc61c8362e37bb89fd2430f7e3385e86df7915019bd2ce45de9d9bd934502
+SIZE (Z3Prover-z3-z3-4.13.0_GH0.tar.gz) = 5520232
diff --git a/math/z3/files/patch-scripts_mk__util.py b/math/z3/files/patch-scripts_mk__util.py
deleted file mode 100644
index 0671d536e16e..000000000000
--- a/math/z3/files/patch-scripts_mk__util.py
+++ /dev/null
@@ -1,13 +0,0 @@
---- scripts/mk_util.py.orig	2022-05-05 00:16:30 UTC
-+++ scripts/mk_util.py
-@@ -2543,8 +2543,8 @@ def mk_config():
-         check_ar()
-         CXX = find_cxx_compiler()
-         CC  = find_c_compiler()
--        SLIBEXTRAFLAGS = ''
--#       SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so.0' % LDFLAGS
-+#       SLIBEXTRAFLAGS = ''
-+        SLIBEXTRAFLAGS = '%s -Wl,-soname,libz3.so.0' % LDFLAGS
-         EXE_EXT = ''
-         LIB_EXT = '.a'
-         if GPROF:
diff --git a/math/z3/pkg-plist b/math/z3/pkg-plist
index 24f5aa6f517b..09c647afface 100644
--- a/math/z3/pkg-plist
+++ b/math/z3/pkg-plist
@@ -13,6 +13,11 @@ include/z3_rcf.h
 include/z3_spacer.h
 include/z3_v1.h
 include/z3_version.h
-%%STATIC%%lib/libz3.a
+lib/cmake/z3/Z3Config.cmake
+lib/cmake/z3/Z3ConfigVersion.cmake
+lib/cmake/z3/Z3Targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/z3/Z3Targets.cmake
 lib/libz3.so
-lib/libz3.so.0
+lib/libz3.so.4.13
+lib/libz3.so.4.13.0.0
+libdata/pkgconfig/z3.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404191903.43JJ3kBd037497>