summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-07-25 06:41:44 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-07-25 06:41:44 +0200
commit49a1f153a7683d370c393f8faf8f5202c40fbdac (patch)
treef4491da20094ab5bce82faaaca30dc6cc072c000
parentapp-misc/livecd-tools: sync live ebuild keywords (diff)
downloadgentoo-49a1f153a7683d370c393f8faf8f5202c40fbdac.tar.gz
gentoo-49a1f153a7683d370c393f8faf8f5202c40fbdac.tar.bz2
gentoo-49a1f153a7683d370c393f8faf8f5202c40fbdac.zip
dev-java/swt: added workaround for openjdk{,-bin}-8 to 4.10-r2
Closes: https://bugs.gentoo.org/803650 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--dev-java/swt/swt-4.10-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-java/swt/swt-4.10-r2.ebuild b/dev-java/swt/swt-4.10-r2.ebuild
index b96a531dfbf..4387c8f78a3 100644
--- a/dev-java/swt/swt-4.10-r2.ebuild
+++ b/dev-java/swt/swt-4.10-r2.ebuild
@@ -94,6 +94,10 @@ src_compile() {
if [[ -f "${libpath}/${JAWTSO}" ]]; then
export AWT_LIB_PATH="${libpath}"
break
+ # this is a workaround for broken LDPATH in <=openjdk-8.292_p10 and <=dev-java/openjdk-bin-8.292_p10
+ elif [[ -f "${libpath}/$(tc-arch)/${JAWTSO}" ]]; then
+ export AWT_LIB_PATH="${libpath}/$(tc-arch)"
+ break
fi
done