diff --git a/srcpkgs/openjdk13-bootstrap/patches/make-4.3.patch b/srcpkgs/openjdk13-bootstrap/patches/make-4.3.patch new file mode 100644 index 00000000000..75617366cb3 --- /dev/null +++ b/srcpkgs/openjdk13-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 +@@ -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) \ + ) + diff --git a/srcpkgs/openjdk13-bootstrap/template b/srcpkgs/openjdk13-bootstrap/template index 89b59cfc6f8..99b2639abbc 100644 --- a/srcpkgs/openjdk13-bootstrap/template +++ b/srcpkgs/openjdk13-bootstrap/template @@ -39,7 +39,7 @@ maintainer="classabbyamp " license="GPL-2.0-only WITH Classpath-exception-2.0" homepage="https://openjdk.java.net/" distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz" -checksum=d38fb17795782dffe84e98f21f1d6293b0a45ea8f1e9c81e99cd71acac03a4e0 +checksum=a2f44d036b0922207387bd598b66fb6858852c188b6211df675dbea3f3ea79c8 provides="java-environment-${version}_1 java-runtime-${version}_1" lib32disabled=yes nocross=yes