diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-08-05 08:17:05 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-08-05 08:17:05 +0000 |
commit | cb5fdf01a7caf0685f111f359bfe486156b9ad61 (patch) | |
tree | d544db7fc7cb96723f506d9a94abca622cf5dadc /eclass/java-pkg-2.eclass | |
parent | Mask dev-ruby/switchtower as it will be removed shortly (diff) | |
download | gentoo-2-cb5fdf01a7caf0685f111f359bfe486156b9ad61.tar.gz gentoo-2-cb5fdf01a7caf0685f111f359bfe486156b9ad61.tar.bz2 gentoo-2-cb5fdf01a7caf0685f111f359bfe486156b9ad61.zip |
Remove eclass hooks to resolve bug #163262.
Diffstat (limited to 'eclass/java-pkg-2.eclass')
-rw-r--r-- | eclass/java-pkg-2.eclass | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass index 00fde92c3d5f..76b438c4c620 100644 --- a/eclass/java-pkg-2.eclass +++ b/eclass/java-pkg-2.eclass @@ -5,7 +5,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.23 2007/05/17 21:04:43 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.24 2007/08/05 08:17:05 betelgeuse Exp $ inherit java-utils-2 @@ -89,49 +89,5 @@ java-pkg-2_src_compile() { } # ------------------------------------------------------------------------------ -# @note -# -# We need to initialize the environment in every function because Portage -# will source /etc/profile between phases and trample all over the env. -# This is accomplished by phase hooks, which is available with newer versions of -# portage. -# ------------------------------------------------------------------------------ - -pre_pkg_setup() { - java-pkg-2_pkg_setup -} - -pre_src_unpack() { - java-pkg-2_pkg_setup -} - -pre_src_compile() { - if is-java-strict; then - echo "Searching for bundled jars:" - java-pkg_find-normal-jars || echo "None found." - echo "Searching for bundled classes (no output if none found):" - find "${WORKDIR}" -name "*.class" - echo "Search done." - fi - java-pkg-2_pkg_setup -} - -pre_src_install() { - java-pkg-2_pkg_setup -} - -pre_src_test() { - java-pkg-2_pkg_setup -} - -pre_pkg_preinst() { - java-pkg-2_pkg_setup -} - -pre_pkg_postinst() { - java-pkg-2_pkg_setup -} - -# ------------------------------------------------------------------------------ # @eclass-end # ------------------------------------------------------------------------------ |