mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/openjdk: add patch to fix build with make-4.3
Bug: https://bugs.gentoo.org/706012 Thanks-to: Alex Parker <alex.iris.parker@gmail.com> Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
12
dev-java/openjdk/files/openjdk-11-make43.patch
Normal file
12
dev-java/openjdk/files/openjdk-11-make43.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/make/common/MakeBase.gmk b/make/common/MakeBase.gmk
|
||||
index 170c3ed..b3b49f1 100644
|
||||
--- a/make/common/MakeBase.gmk
|
||||
+++ b/make/common/MakeBase.gmk
|
||||
@@ -974,6 +974,7 @@ DependOnVariableFileName = \
|
||||
# Param 2 - (optional) name of file to store value in
|
||||
DependOnVariableHelper = \
|
||||
$(strip \
|
||||
+ $(eval $(call DependOnVariableFileName, $1, $2):$(NEWLINE) true) \
|
||||
$(eval -include $(call DependOnVariableFileName, $1, $2)) \
|
||||
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),,\
|
||||
$(call MakeDir, $(dir $(call DependOnVariableFileName, $1, $2))) \
|
||||
@@ -73,6 +73,8 @@ PDEPEND="
|
||||
|
||||
REQUIRED_USE="javafx? ( alsa !headless-awt )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/openjdk-11-make43.patch" )
|
||||
|
||||
S="${WORKDIR}/jdk${SLOT}u-jdk-${MY_PV}"
|
||||
|
||||
# The space required to build varies wildly depending on USE flags,
|
||||
|
||||
Reference in New Issue
Block a user