Use system libs in ghostscript installation
[hvlinux.git] / stage5 / pkg / ghostscript
index 17f519c..9ab008c 100644 (file)
@@ -6,18 +6,13 @@ hvconfig_pre()
 
     cd ${SRC_DIR}
 
-    # To use the system-installed version of JasPer:
-    rm -rf jasper
-
-    # To use the system-installed copies of libjpeg and libpng:
-    rm -rf jpeg
-    rm -rf libpng
-
-    # To use the system-installed copy of libtiff:
-    rm -rf tiff
+    # To use the system-installed version of librairies:
+    rm -rf jasper tiff openjpeg
+    rm -rf expat freetype lcms2 jpeg libpng zlib
 
     CONFIGURE_OPTS+=" \
         --enable-dynamic \
+        --disable-compile-inits \
         --with-system-libtiff \
         --with-fontpath=${GS_FONTS_PATH}"
 }