From 536cee3023d3464f9eb798459509719bed765c10 Mon Sep 17 00:00:00 2001 From: André Draszik Date: Mon, 12 Mar 2018 16:38:05 +0000 Subject: openjdk-8: fix MAKE detection patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Maxin B. John --- recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3-54-g00ecf