mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
gambit: update to 4.9.4.
This commit is contained in:
parent
68add700ba
commit
cf11d5011a
1 changed files with 10 additions and 7 deletions
|
@ -1,8 +1,10 @@
|
||||||
# Template file for 'gambit'
|
# Template file for 'gambit'
|
||||||
pkgname=gambit
|
pkgname=gambit
|
||||||
version=4.9.3
|
version=4.9.4
|
||||||
revision=6
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
# We only build core, since the rest doesn't cross-compile.
|
||||||
|
make_build_target="core"
|
||||||
configure_args="
|
configure_args="
|
||||||
--libdir=/usr/lib/gambit --docdir=/usr/share/doc/gambit
|
--libdir=/usr/lib/gambit --docdir=/usr/share/doc/gambit
|
||||||
--enable-compiler-name=gambit-gsc
|
--enable-compiler-name=gambit-gsc
|
||||||
|
@ -12,19 +14,20 @@ makedepends="openssl-devel"
|
||||||
short_desc="Complete, portable, efficient and reliable implementation of Scheme"
|
short_desc="Complete, portable, efficient and reliable implementation of Scheme"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="LGPL-2.1-only, Apache-2.0"
|
license="LGPL-2.1-only, Apache-2.0"
|
||||||
# Returns a completely white page
|
homepage="https://gambitscheme.org/"
|
||||||
# homepage="http://gambitscheme.org/"
|
|
||||||
homepage="https://github.com/gambit/gambit"
|
|
||||||
distfiles="https://github.com/gambit/gambit/archive/v${version}.tar.gz"
|
distfiles="https://github.com/gambit/gambit/archive/v${version}.tar.gz"
|
||||||
checksum=a5e4e5c66a99b6039fa7ee3741ac80f3f6c4cff47dc9e0ff1692ae73e13751ca
|
checksum=19fb44a65b669234f6c0467cdc3dbe2e2c95a442f38e4638e7d89c90e247bd08
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) CFLAGS="-DNETDB_INTERNAL=-1 -DNETDB_SUCCESS=0";;
|
*-musl) CFLAGS="-DNETDB_INTERNAL=-1 -DNETDB_SUCCESS=0";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
vsed -i 's/4\.9\.3/4.9.4/g' include/stamp-release.h
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for f in ${DESTDIR}/usr/lib/gambit/lib*.so.*; do
|
for f in ${DESTDIR}/usr/lib/gambit/lib*.so.*; do
|
||||||
ln -sfr $f ${DESTDIR}/usr/lib
|
ln -sfr $f ${DESTDIR}/usr/lib
|
||||||
done
|
done
|
||||||
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/gambcomp-C
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue