dev-java/openjdk-bin: really remove libjawt.so for headless
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Tue, 1 Oct 2019 23:54:38 +0000 (16:54 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Tue, 1 Oct 2019 23:57:11 +0000 (16:57 -0700)
portage will fail to install binpkg of it with
emerge: there are no binary packages to satisfy "x86_64: libawt_xawt.so"

unless --ignore-soname-deps=y is passed

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild [moved from dev-java/openjdk-bin/openjdk-bin-8.222_p10.ebuild with 98% similarity]

similarity index 98%
rename from dev-java/openjdk-bin/openjdk-bin-8.222_p10.ebuild
rename to dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild
index 05ab88cb032b7ee37f5ceddfe5f3194e378a2d51..c9b8c2cf4c916ec72f7246c47fc62b5210e8cb05 100644 (file)
@@ -71,7 +71,7 @@ src_install() {
        fi
 
        if use headless-awt ; then
-               rm -fvr jre/lib/*/lib*{[jx]awt,splashscreen}* \
+               rm -fvr {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
                        {,jre/}bin/policytool bin/appletviewer || die
        fi