summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-08-05 08:17:05 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-08-05 08:17:05 +0000
commit15e6a0fd89549f307693337bce92ed134d6f7e05 (patch)
tree056cc210ef4bd9f8fb1b08194987f91be3e202de /eclass/java-pkg-2.eclass
parentMask dev-ruby/switchtower as it will be removed shortly (diff)
downloadhistorical-15e6a0fd89549f307693337bce92ed134d6f7e05.tar.gz
historical-15e6a0fd89549f307693337bce92ed134d6f7e05.tar.bz2
historical-15e6a0fd89549f307693337bce92ed134d6f7e05.zip
Remove eclass hooks to resolve bug #163262.
Diffstat (limited to 'eclass/java-pkg-2.eclass')
-rw-r--r--eclass/java-pkg-2.eclass46
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
# ------------------------------------------------------------------------------