Skip to contentSkip to conversation

ghostscript: needs host-zlib

PATCH New Rodrigo Rebello 2 participants 2 messages Mar 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ghostscript: needs host-zlib

The ghostscript configure script checks for zlib on the host when configuring the build of auxiliary programs used in the compilation process and fails if such library is not found.

Add 'host-zlib' as a dependency and, while at it, also enclose $(HOSTCC) in double quotes, otherwise configure fails when that variable expands to a command containing spaces (e.g. when ccache is enabled).

Fixes:

http://autobuild.buildroot.net/results/61af9caa7fe6fce6b11f78f66b9d3590f37e92e7/
http://autobuild.buildroot.net/results/904f06e14247c22f740d8fd8902618017e0518f6/

---
 package/ghostscript/ghostscript.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/ghostscript/ghostscript.mk +2 -1
index e568b2047..265503e47 100644
@@ -15,6 +15,7 @@ GHOSTSCRIPT_DEPENDENCIES = \
 	host-lcms2 \
 	host-libjpeg \
 	host-pkgconf \
+	host-zlib \
 	fontconfig \
 	ghostscript-fonts \
 	jpeg \
@@ -31,7 +32,7 @@ endef
 GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBS
 
 GHOSTSCRIPT_CONF_ENV = \
-	CCAUX=$(HOSTCC) \
+	CCAUX="$(HOSTCC)" \
 	CFLAGSAUX="$(HOST_CFLAGS) $(HOST_LDFLAGS)"
 
 GHOSTSCRIPT_CONF_OPTS = \
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 ghostscript: needs host-zlib

Hello,

Quoted 10 lines · Rodrigo Rebello

The ghostscript configure script checks for zlib on the host when configuring the build of auxiliary programs used in the compilation process and fails if such library is not found.

Add 'host-zlib' as a dependency and, while at it, also enclose $(HOSTCC) in double quotes, otherwise configure fails when that variable expands to a command containing spaces (e.g. when ccache is enabled).

Fixes:

Quoted 7 lines

http://autobuild.buildroot.net/results/61af9caa7fe6fce6b11f78f66b9d3590f37e92e7/
http://autobuild.buildroot.net/results/904f06e14247c22f740d8fd8902618017e0518f6/

---
 package/ghostscript/ghostscript.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com