From cf82aa0d87bda5e3369c5fc46935686264e1c167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 9 Jun 2020 15:03:39 -0300 Subject: [PATCH] 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. --- srcpkgs/ghostscript/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ghostscript/template b/srcpkgs/ghostscript/template index d46936d5bc..1c21781d31 100644 --- a/srcpkgs/ghostscript/template +++ b/srcpkgs/ghostscript/template @@ -1,7 +1,7 @@ # Template file for 'ghostscript' pkgname=ghostscript version=9.52 -revision=1 +revision=2 short_desc="Interpreter for the PostScript language" maintainer="Orphaned " license="AGPL-3.0-or-later, CPL-1.0" @@ -37,14 +37,14 @@ do_configure() { # configure ghostscript if [ "$CROSS_BUILD" ]; then export CCAUX=cc CFLAGSAUX=${XBPS_CFLAGS} + export CUPSCONFIG=/usr/bin/cups-config fi ./configure ${configure_args} --enable-dynamic --with-ijs \ --with-jbig2dec --with-omni --with-x --with-drivers=ALL \ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ --enable-fontconfig --enable-freetype --enable-openjpeg \ --with-libpaper --without-luratech --without-omni \ - --with-system-libtiff --disable-compile-inits \ - $(vopt_if cups '' '--disable-cups') + --with-system-libtiff --disable-compile-inits $(vopt_enable cups) # configure libijs cd ijs