view tck7/patches/Icedtea7_forest/java-1.7.0-openjdk-disable-system-lcms.patch @ 23:f89fb967f508 draft default tip

Added script to restart all resident programs used by TCK6.
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Mon, 28 Apr 2014 11:13:20 +0200
parents 72d52b764c79
children
line wrap: on
line source

--- openjdk/jdk/make/jdk_generic_profile.sh.sav
+++ openjdk/jdk/make/jdk_generic_profile.sh
@@ -405,23 +405,6 @@
 export ZLIB_CFLAGS
 export ZLIB_LIBS
 
-# Export variables for system LCMS
-# LCMS_CFLAGS and LCMS_LIBS tell the compiler how to compile and
-# link against lcms2
-if [ -x "${pkgconfig}" ] ; then
-  if [ "${LCMS_CFLAGS}" = "" ] ; then
-    LCMS_CFLAGS=$("${pkgconfig}" --cflags lcms2)
-  fi
-  if [ "${LCMS_LIBS}" = "" ] ; then
-    LCMS_LIBS=$("${pkgconfig}" --libs lcms2)
-  fi
-fi
-if [ "${LCMS_LIBS}" = "" ] ; then
-    LCMS_LIBS="-llcms2"
-fi
-export LCMS_CFLAGS
-export LCMS_LIBS
-
 # Export variables for system jpeg
 # JPEG_CFLAGS and JPEG_LIBS tell the compiler how to compile and
 # link against libjpeg
@@ -549,7 +532,6 @@
 fi
 
 # IcedTea defaults; use system libraries
-export SYSTEM_LCMS=true
 export SYSTEM_ZLIB=true
 export SYSTEM_JPEG=true
 export SYSTEM_PNG=true