Hi, please review the attach patch for Prefix support for dev-java/gcj-jdk. PS: the original dosym with wildcard does not work. Reproducible: Always
Created attachment 312103 [details, diff] gcj-jdk.patch The gcc[gtk] dep comes from libjawt.so.
please ignore the cvs header and keyword change. and S="${WORKDIR}" is because EAPI4 issues "cd ${S}" (S=${WORKDIR}/${P}) by default.
> local gcj_ver=$(cut -d. -f3 <<< $(readlink $(gcc-config -L)/libgcj.so)) won't work as gcc-config -L returns a semicolon separated list of paths and so readlink will fail on for example a default amd64 setup. I suggest you just do the expansion in the Prefix and strip EPREFIX before feeding it to dosym. The other changes look good.
Created attachment 312115 [details, diff] gcj-jdk.patch use the trick as sera suggested.
Created attachment 312117 [details, diff] gcj-jdk.pach
Thanks, was fixed a while back ;) *gcj-jdk-4.6.3 (05 Jun 2012) *gcj-jdk-4.6.2-r1 (05 Jun 2012) *gcj-jdk-4.6.1 (05 Jun 2012) *gcj-jdk-4.6.0 (05 Jun 2012) 05 Jun 2012; Ralph Sennhauser <sera@gentoo.org> +gcj-jdk-4.6.0.ebuild, +gcj-jdk-4.6.1.ebuild, +gcj-jdk-4.6.2-r1.ebuild, +gcj-jdk-4.6.3.ebuild: Import from java-overlay. Adds Prefix support and missing use dep, thanks to XU Benda <heroxbd@gentoo.org>. #416367 Remove JAVA_PROVIDE, old style virtuals are dead.
Thanks sera, as always ;)