--- /usr/portage/eclass/java-pkg-2.eclass 2009-01-28 20:09:26.000000000 +0000 +++ java-pkg-2.eclass 2009-02-12 17:49:36.362443371 +0000 @@ -24,8 +24,9 @@ # the eclass can automatically add the needed dependencies for the java-pkg_do* # functions. # +# Build Java packages to native libraries # ------------------------------------------------------------------------------ -IUSE="${JAVA_PKG_IUSE}" +IUSE="${JAVA_PKG_IUSE} gcj" # ------------------------------------------------------------------------------ # @depend @@ -123,6 +124,10 @@ fi fi } +# ------------------------------------------------------------------------------ +pre_pkg_postinst() { + java-pkg_reg-cachejar_ +} # ------------------------------------------------------------------------------ # @eclass-end