vice: disable nls on musl (resolves #3773)

This commit is contained in:
cr6git 2018-10-15 00:00:31 +02:00 committed by GitHub
parent 3ccfbf7569
commit 7f90f995bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# Template file for 'vice' # Template file for 'vice'
pkgname=vice pkgname=vice
version=3.2 version=3.2
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
$(vopt_enable sdl2 sdlui2) $(vopt_enable sdl2 sdlui2)
@ -32,6 +32,10 @@ checksum=28d99f5e110720c97ef16d8dd4219cf9a67661d58819835d19378143697ba523
build_options="sdl2 gtk3" build_options="sdl2 gtk3"
build_options_default="gtk3" build_options_default="gtk3"
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-nls";;
esac
pre_configure() { pre_configure() {
# Do not install data to /usr/lib64 # Do not install data to /usr/lib64
sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure