vice: fix build with giflib-5.1.0; prevent installation to /usr/lib64

This commit is contained in:
Enno Boland 2014-10-03 23:26:15 +02:00
parent 77340f1ad5
commit 627d67fb98

View File

@ -23,3 +23,10 @@ if [ "$build_option_pulseaudio" ]; then
else
configure_args+=" --without-pulse"
fi
pre_configure() {
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/EGifCloseFile/s:sdata->fd:&, NULL:g" src/gfxoutputdrv/gifdrv.c
# Do not install data to /usr/lib64
sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure
}