[OE-core] [oe-core][v3][PATCH 3/3] ghostscript: specify CUPSCONFIG
Joe Slater
jslater at windriver.com
Tue Jun 13 19:50:27 UTC 2017
configure for version 9.21 finds, but rejects, pkg-config
and cups-config. We need cups-config, so we short circuit
the test for it.
Signed-off-by: Joe Slater <jslater at windriver.com>
---
meta/recipes-extended/ghostscript/ghostscript_9.21.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.21.bb b/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
index 74e7a3f..94d4cc6 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
@@ -64,10 +64,14 @@ PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${ST
--without-x, virtual/libx11 libxext libxt gtk+3\
"
+# For 9.21, configure rejects the pkg-config and cups-config it finds.
+# We can live without pkg-config, but we need cups-config.
+#
EXTRA_OECONF = "--with-system-libtiff --without-jbig2dec \
--with-fontpath=${datadir}/fonts \
--without-libidn --with-cups-serverbin=${exec_prefix}/lib/cups \
--with-cups-datadir=${datadir}/cups \
+ CUPSCONFIG="${STAGING_BINDIR_CROSS}/cups-config" \
"
EXTRA_OECONF_append_mipsarcho32 = " --with-large_color_index=0"
--
2.7.4
More information about the Openembedded-core
mailing list