--- openjdk/jdk/make/jdk_generic_profile.sh.sav
+++ openjdk/jdk/make/jdk_generic_profile.sh
@@ -399,23 +399,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
-pkgconfig=$(which pkg-config 2>/dev/null)
-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
@@ -463,7 +446,6 @@
fi
# IcedTea defaults; use system libraries
-export USE_SYSTEM_LCMS=true
export SYSTEM_ZLIB=true
export USE_SYSTEM_JPEG=true
export USE_SYSTEM_PNG=true