summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-08 12:20:38 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-08 12:20:59 -0800
commitc75e8e3f4b3759cf37a4aca98e5330fc8b4dd4fe (patch)
tree5795bae3880021178d5dcb1d985ec5b958d67dbc /dev-java
parentdev-erlang/fast_yaml: Remove unused patch (diff)
downloadgentoo-c75e8e3f4b3759cf37a4aca98e5330fc8b4dd4fe.tar.gz
gentoo-c75e8e3f4b3759cf37a4aca98e5330fc8b4dd4fe.tar.bz2
gentoo-c75e8e3f4b3759cf37a4aca98e5330fc8b4dd4fe.zip
dev-java/openjdk-bin: fix installation on arm
Closes: https://bugs.gentoo.org/753575 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/openjdk-bin/openjdk-bin-8.272_p10.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/openjdk-bin-8.272_p10.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.272_p10.ebuild
index 04cf2523582e..e4bdf87e57ca 100644
--- a/dev-java/openjdk-bin/openjdk-bin-8.272_p10.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-8.272_p10.ebuild
@@ -52,6 +52,14 @@ QA_PREBUILT="*"
S="${WORKDIR}/jdk${MY_PV}"
+src_unpack() {
+ default
+ # 753575
+ if use arm; then
+ mv -v "${S}"* "${S}" || die
+ fi
+}
+
src_install() {
local dest="/opt/${P}"
local ddest="${ED%/}/${dest#/}"