From bb948e3e3bead460b69e20161cdd6d7591d4995b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 30 Apr 2017 12:59:55 +0200 Subject: [PATCH] ghostscript: Delete all bundled libraries ghostscript ships a number of bundled libraries that is needs to be build and at runtime. This patch removes them all which causes ghostcript to automatically fall back to the libraries installed in the system. Signed-off-by: Michael Tremer --- lfs/ghostscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lfs/ghostscript b/lfs/ghostscript index 4d82eb750..7ee1ce4e4 100644 --- a/lfs/ghostscript +++ b/lfs/ghostscript @@ -32,9 +32,9 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ghostscript -PAK_VER = 2 +PAK_VER = 3 -DEPS = "dbus libtiff" +DEPS = "cups dbus libtiff" ############################################################################### # Top-level Rules @@ -83,6 +83,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && rm -rf expat freetype icclib jasper jpeg jpegxr \ + lcms lcms2 libpng openjpeg zlib cups/libs cd $(DIR_APP) && \ ./configure \ --prefix=/usr \