]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ghostscript: Delete all bundled libraries
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Apr 2017 10:59:55 +0000 (12:59 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 11:09:07 +0000 (12:09 +0100)
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 <michael.tremer@ipfire.org>
lfs/ghostscript

index 4d82eb7507979ef7d3c1321250a8dd1e8505d2c7..7ee1ce4e4a9648090b0a00706725cfa2a8b25f85 100644 (file)
@@ -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 \