chez-scheme: update to 9.5.8.

This commit is contained in:
Leah Neukirchen 2022-04-26 13:52:49 +02:00
parent e2bcb3b9bc
commit 6b0a998f8f

View file

@ -1,9 +1,8 @@
# Template file for 'chez-scheme'
pkgname=chez-scheme
version=9.5.6
version=9.5.8
revision=1
_nanopass_version=1.9.2
wrksrc="ChezScheme-${version}"
wrksrc="csv${version}"
build_style=gnu-configure
hostmakedepends="git libX11-devel liblz4-devel libuuid-devel ncurses-devel zlib-devel"
makedepends="${hostmakedepends}"
@ -11,10 +10,8 @@ short_desc="Compiler and run-time system for R6RS Scheme"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="http://scheme.com/"
distfiles="https://github.com/cisco/ChezScheme/archive/v${version}.tar.gz
https://github.com/nanopass/nanopass-framework-scheme/archive/v${_nanopass_version}.tar.gz"
checksum="e23c556493f9a661852ea046f3317500feac5f223ea6ef3aa3b9234567e14c0e
46d3ab75f425ef93a6ac31f0b0b2f893b9cb3154219832ad52ea044dd36b021c"
distfiles="https://github.com/cisco/ChezScheme/releases/download/v${version}/csv${version}.tar.gz"
checksum=af83e80cbfe1a9a7c868e7c069a40c449fadd5e2a1737fd0f1260fc9d4159906
alternatives="
scheme:scheme:/usr/bin/chez-scheme
scheme:scheme.1:/usr/share/man/man1/chez-scheme.1
@ -34,19 +31,6 @@ case "$XBPS_TARGET_MACHINE" in
*) broken="unsupported target platform";;
esac
post_extract() {
sed -i '/xlocale\.h/d' c/expeditor.c
# Create a dummy git repo and hack out submodules.
# Its presence stops 'configure' from downloading its own versions of nanopass etc.
mkdir .git
sed -i '/git submodule/s/^/: #/' configure
rmdir nanopass
mv ../nanopass-framework-scheme-${_nanopass_version} nanopass
}
do_configure() {
# Configure such that scheme uses the zlib and lz4 system shared libs.
# ZLIB and LZ4 is used when building the scheme kernel and use the full path.