From: Michael Tremer Date: Sun, 30 Apr 2017 10:59:55 +0000 (+0200) Subject: ghostscript: Delete all bundled libraries X-Git-Tag: v2.19-core112~102 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=bb948e3e3bead460b69e20161cdd6d7591d4995b 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 --- diff --git a/lfs/ghostscript b/lfs/ghostscript index 4d82eb7507..7ee1ce4e4a 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 \