From 15e6a0fd89549f307693337bce92ed134d6f7e05 Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Sun, 5 Aug 2007 08:17:05 +0000 Subject: Remove eclass hooks to resolve bug #163262. --- eclass/java-pkg-2.eclass | 46 +--------------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) (limited to 'eclass/java-pkg-2.eclass') 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 @@ -88,50 +88,6 @@ java-pkg-2_src_compile() { fi } -# ------------------------------------------------------------------------------ -# @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 # ------------------------------------------------------------------------------ -- cgit v1.2.3-65-gdbad