diff options
| author | André Draszik <andre.draszik@jci.com> | 2018-03-12 16:38:05 +0000 |
|---|---|---|
| committer | Maxin B. John <maxin.john@intel.com> | 2018-03-13 13:20:15 +0200 |
| commit | 536cee3023d3464f9eb798459509719bed765c10 (patch) | |
| tree | 4ca842baf552246783afcfff8f56d8bc07dbff6e | |
| parent | 0325253a995039f70836c6d6d98e6cb315fa297f (diff) | |
| download | meta-java-536cee3023d3464f9eb798459509719bed765c10.tar.gz | |
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 @@ | |||
| 6 | # User has supplied a make, test it. | 6 | # User has supplied a make, test it. |
| 7 | - if test ! -f "$MAKE"; then | 7 | - if test ! -f "$MAKE"; then |
| 8 | - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) | 8 | - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) |
| 9 | + if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then | 9 | + if test `dirname "$MAKE"` = "." && ! test -f "$MAKE"; then |
| 10 | + AC_PATH_PROGS(CHECK_MAKE, $MAKE) | 10 | + AC_PATH_PROGS(CHECK_MAKE, $MAKE) |
| 11 | + else | 11 | + else |
| 12 | + CHECK_MAKE="${MAKE}" | 12 | + CHECK_MAKE="${MAKE}" |
