summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch2
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}"