summaryrefslogtreecommitdiff
path: root/lang/openjdk8/patches
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-07-05 14:32:21 +0000
committerjperkin <jperkin>2016-07-05 14:32:21 +0000
commit6b1b3ab3a9f69d7d6283417974f59622ea2a70b1 (patch)
treecb9e13cd823df1e7f20d94466b1df02e775fd5bf /lang/openjdk8/patches
parent170ba1e628afa0b95497f10ecc6f89333d925aab (diff)
downloadpkgsrc-6b1b3ab3a9f69d7d6283417974f59622ea2a70b1.tar.gz
Allow passing LIBZ in the environment. Skip checking libinstrument.so
which is resolved at runtime. Fixes build on SunOS at least.
Diffstat (limited to 'lang/openjdk8/patches')
-rw-r--r--lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk b/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk
new file mode 100644
index 00000000000..ae85c3c5661
--- /dev/null
+++ b/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk
@@ -0,0 +1,15 @@
+$NetBSD: patch-jdk_make_lib_CoreLibraries.gmk,v 1.1 2016/07/05 14:32:21 jperkin Exp $
+
+Allow passing LIBZ in the environment.
+
+--- jdk/make/lib/CoreLibraries.gmk.orig 2016-05-06 12:11:21.000000000 +0000
++++ jdk/make/lib/CoreLibraries.gmk
+@@ -231,7 +231,7 @@ $(BUILD_LIBJAVA): $(BUILD_LIBFDLIBM)
+
+ BUILD_LIBZIP_EXCLUDES :=
+ ifeq ($(USE_EXTERNAL_LIBZ), true)
+- LIBZ := -lz
++ #LIBZ := -lz
+ LIBZIP_EXCLUDES += zlib-1.2.8
+ else
+ ZLIB_CPPFLAGS := -I$(JDK_TOPDIR)/src/share/native/java/util/zip/zlib-1.2.8