z3: update to 4.6.0.

This commit is contained in:
Leah Neukirchen 2017-12-19 11:55:54 +01:00
parent 34d457f974
commit b89dcc2f9c

View file

@ -1,6 +1,6 @@
# Template file for 'z3' # Template file for 'z3'
pkgname=z3 pkgname=z3
version=4.5.0 version=4.6.0
revision=1 revision=1
wrksrc="${pkgname}-${pkgname}-${version}" wrksrc="${pkgname}-${pkgname}-${version}"
hostmakedepends="python" hostmakedepends="python"
@ -8,20 +8,13 @@ makedepends="libgomp-devel gmp-devel"
depends="python python-setuptools" depends="python python-setuptools"
pycompile_module="z3" pycompile_module="z3"
short_desc="Z3 theorem prover and SMT solver (command line + Python module)" short_desc="Z3 theorem prover and SMT solver (command line + Python module)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT" license="MIT"
homepage="https://github.com/Z3Prover/z3" homepage="https://github.com/Z3Prover/z3"
distfiles="https://github.com/Z3Prover/z3/archive/${pkgname}-${version}.tar.gz" distfiles="https://github.com/Z3Prover/z3/archive/${pkgname}-${version}.tar.gz"
checksum=aeae1d239c5e06ac183be7dd853775b84698db1265cb2258e5918a28372d4a0c checksum=511da31d1f985cf0c79b2de05bda4e057371ba519769d1546ff71e1304fe53c9
do_configure() { do_configure() {
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) : good ;;
*)
sed -i 's/-msse\|-msse2\|-mfpmath=sse//g' scripts/mk_util.py
sed -i '/define USE_INTRINSICS\|emmintrin.h/d' src/util/hwf.cpp
esac
LDFLAGS="$CFLAGS $LDFLAGS" ./configure --prefix=/usr -g LDFLAGS="$CFLAGS $LDFLAGS" ./configure --prefix=/usr -g
} }