summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-12-08 14:52:51 +0100
committerMaxin B. John <maxin.john@intel.com>2015-12-08 17:43:40 +0200
commitbac3b9acee5110390d15d38dacdb1622e31b2238 (patch)
tree1f39d7b8392576f19f77fb65f470391e2d15c6c1 /recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch
parent04d5d0bf414c05ca59618d77f17ff9898aa1c566 (diff)
downloadmeta-java-bac3b9acee5110390d15d38dacdb1622e31b2238.tar.gz
openjdk-8: add recipes for openjdk-8 and openjre-8
This adds openjdk-8 for native and target builds and allows a stripped openjre-8 being built as well instead of trying to cherry-pick jre components from jdk-image. The recipes allow building openjdk-8 with or without: * x11 * cups * alsa/pulseaudio and let packager enable unlimited-crypto, if desired. To support certificate based java libraries, cacerts is created based on ca-certificates from OE-core. Since there can be only one PROVIDES for virtual/java-native and virtual/javac-native, move the provides to openjdk-8-native (I think everyone agrees it's a better choice than ecj-bootstrap-native). Plus: Applying a fix from openjdk-9 repository which fixes build issues using gcc5 Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch b/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch
new file mode 100644
index 0000000..a8a9c1d
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch
@@ -0,0 +1,18 @@
1--- common/autoconf/basics.m4.orig 2015-08-17 19:05:13.122672019 +0200
2+++ common/autoconf/basics.m4 2015-08-17 19:13:01.482673782 +0200
3@@ -549,10 +549,12 @@
4 # We need to find a recent version of GNU make. Especially on Solaris, this can be tricky.
5 if test "x$MAKE" != x; then
6 # User has supplied a make, test it.
7- if test ! -f "$MAKE"; then
8- AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.])
9+ if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then
10+ AC_PATH_PROGS(CHECK_MAKE, $MAKE)
11+ else
12+ CHECK_MAKE="${MAKE}"
13 fi
14- BASIC_CHECK_MAKE_VERSION("$MAKE", [user supplied MAKE=$MAKE])
15+ BASIC_CHECK_MAKE_VERSION("$CHECK_MAKE", [user supplied MAKE=$MAKE])
16 if test "x$FOUND_MAKE" = x; then
17 AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.])
18 fi