diff options
author | 2018-03-12 16:38:05 +0000 | |
---|---|---|
committer | 2018-03-13 13:20:15 +0200 | |
commit | 536cee3023d3464f9eb798459509719bed765c10 (patch) | |
tree | 4ca842baf552246783afcfff8f56d8bc07dbff6e | |
parent | 0325253a995039f70836c6d6d98e6cb315fa297f (diff) | |
download | meta-java-536cee3023d3464f9eb798459509719bed765c10.tar.gz meta-java-536cee3023d3464f9eb798459509719bed765c10.tar.bz2 meta-java-536cee3023d3464f9eb798459509719bed765c10.zip |
openjdk-8: fix MAKE detection patch
The patch had a few typos, leading to errors during ./configure
../jdk8u-4be07cb28b21/common/autoconf/configure: line 8408: test: too many arguments
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch | 2 |
1 files changed, 1 insertions, 1 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 index 6454237..5192d1a 100644 --- 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 @@ -6,7 +6,7 @@ # User has supplied a make, test it. - if test ! -f "$MAKE"; then - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) -+ if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then ++ if test `dirname "$MAKE"` = "." && ! test -f "$MAKE"; then + AC_PATH_PROGS(CHECK_MAKE, $MAKE) + else + CHECK_MAKE="${MAKE}" |