summaryrefslogtreecommitdiff
path: root/user/openjdk12/make-4.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/openjdk12/make-4.3.patch')
-rw-r--r--user/openjdk12/make-4.3.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/openjdk12/make-4.3.patch b/user/openjdk12/make-4.3.patch
new file mode 100644
index 000000000..75617366c
--- /dev/null
+++ b/user/openjdk12/make-4.3.patch
@@ -0,0 +1,20 @@
+Subject: Fix build error with make >= 4.3
+Upstream: Yes
+Upstream-Url: https://bugs.openjdk.java.net/browse/JDK-8237879
+Author: Simon Frankenberger <simon-alpine@fraho.eu>
+
+diff --git a/make/common/MakeBase.gmk b/make/common/MakeBase.gmk
+index 170c3ed..697f9d2 100644
+--- a/make/common/MakeBase.gmk
++++ b/make/common/MakeBase.gmk
+@@ -984,7 +984,9 @@ DependOnVariableHelper = \
+ $(info NewVariable $1: >$(strip $($1))<) \
+ $(info OldVariable $1: >$(strip $($1_old))<)) \
+ $(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
+- $(call DependOnVariableFileName, $1, $2))) \
++ $(call DependOnVariableFileName, $1, $2)) \
++ $(eval $(call DependOnVariableFileName, $1, $2): ) \
++ ) \
+ $(call DependOnVariableFileName, $1, $2) \
+ )
+