--- jffi-0.3-r2.ebuild.orig 2009-06-03 08:43:47.000000000 +0200 +++ jffi-0.3-r2.ebuild 2009-06-03 09:00:32.000000000 +0200 @@ -25,6 +25,7 @@ test? ( dev-java/ant-junit4 )" pkg_setup() { + java-pkg-2_pkg_setup if (( `gcc-major-version` < 4 )) || (( `gcc-minor-version` < 3 )) ; then eerror "gcc 4.3 or greater is needed to build and run this. You seem to have a" eerror "sufficient version installed but you need to select it with gcc-config."