guile: fix strtol_l usage.

This commit is contained in:
Christian Neukirchen 2015-06-13 20:07:56 +02:00
parent df83496bc8
commit 2beb27369d

View file

@ -1,7 +1,7 @@
# Template build file for 'guile'.
pkgname=guile
version=2.0.11
revision=3
revision=4
build_style=gnu-configure
configure_args="--disable-static --disable-error-on-warning"
hostmakedepends="pkg-config"
@ -14,6 +14,11 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e6786c934346fa2e38e46d8d81a622bb1c16d130153523f6129fcd79ef1fb040
nocross=yes # only works for same wordsize and endianess
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl) sed -i '/strtol_l/{N;d}' libguile/i18n.c;;
esac
}
libguile_package() {
short_desc+=" - runtime library"
pkg_install() {