ghostscript: fix cups build option.
- Force --enable-cups so it fails without CUPS - it was instead compiling without CUPS support. - Export CUPSCONFIG to fix cross compilation for CUPS.
This commit is contained in:
parent
7d3b9dee16
commit
cf82aa0d87
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ghostscript'
|
# Template file for 'ghostscript'
|
||||||
pkgname=ghostscript
|
pkgname=ghostscript
|
||||||
version=9.52
|
version=9.52
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Interpreter for the PostScript language"
|
short_desc="Interpreter for the PostScript language"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="AGPL-3.0-or-later, CPL-1.0"
|
license="AGPL-3.0-or-later, CPL-1.0"
|
||||||
|
@ -37,14 +37,14 @@ do_configure() {
|
||||||
# configure ghostscript
|
# configure ghostscript
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
export CCAUX=cc CFLAGSAUX=${XBPS_CFLAGS}
|
export CCAUX=cc CFLAGSAUX=${XBPS_CFLAGS}
|
||||||
|
export CUPSCONFIG=/usr/bin/cups-config
|
||||||
fi
|
fi
|
||||||
./configure ${configure_args} --enable-dynamic --with-ijs \
|
./configure ${configure_args} --enable-dynamic --with-ijs \
|
||||||
--with-jbig2dec --with-omni --with-x --with-drivers=ALL \
|
--with-jbig2dec --with-omni --with-x --with-drivers=ALL \
|
||||||
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
|
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
|
||||||
--enable-fontconfig --enable-freetype --enable-openjpeg \
|
--enable-fontconfig --enable-freetype --enable-openjpeg \
|
||||||
--with-libpaper --without-luratech --without-omni \
|
--with-libpaper --without-luratech --without-omni \
|
||||||
--with-system-libtiff --disable-compile-inits \
|
--with-system-libtiff --disable-compile-inits $(vopt_enable cups)
|
||||||
$(vopt_if cups '' '--disable-cups')
|
|
||||||
|
|
||||||
# configure libijs
|
# configure libijs
|
||||||
cd ijs
|
cd ijs
|
||||||
|
|
Loading…
Reference in a new issue