From d307d9ea9a566f28b4e705dafd16a8e8982187bc Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 14 Oct 2023 04:48:26 -0400 Subject: [PATCH] openjdk10-bootstrap: fix build --- .../patches/make-4.3.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/openjdk10-bootstrap/patches/make-4.3.patch diff --git a/srcpkgs/openjdk10-bootstrap/patches/make-4.3.patch b/srcpkgs/openjdk10-bootstrap/patches/make-4.3.patch new file mode 100644 index 00000000000..f60441070c5 --- /dev/null +++ b/srcpkgs/openjdk10-bootstrap/patches/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 + +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 +@@ -967,7 +967,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) \ + ) +