/[gentoo-x86]/eclass/java-pkg-opt-2.eclass
Gentoo

Diff of /eclass/java-pkg-opt-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
36java-pkg-opt-2_pkg_setup() { 36java-pkg-opt-2_pkg_setup() {
37 use ${JAVA_PKG_OPT_USE} && java-pkg_init 37 use ${JAVA_PKG_OPT_USE} && java-pkg_init
38} 38}
39 39
40# ------------------------------------------------------------------------------ 40# ------------------------------------------------------------------------------
41# @note 41# @note
42# 42#
43# We need to initialize the environment in every function because Portage 43# We need to initialize the environment in every function because Portage
44# will source /etc/profile between phases and trample all over the env. 44# will source /etc/profile between phases and trample all over the env.
45# This is accomplished by phase hooks, which is available with newer versions of 45# This is accomplished by phase hooks, which is available with newer versions of
46# portage. 46# portage.
47# ------------------------------------------------------------------------------ 47# ------------------------------------------------------------------------------
48 48
49pre_pkg_setup() { 49pre_pkg_setup() {
50 java-pkg-opt_pkg_setup 50 java-pkg-opt-2_pkg_setup
51} 51}
52 52
53pre_src_unpack() { 53pre_src_unpack() {
54 java-pkg-opt_pkg_setup 54 java-pkg-opt-2_pkg_setup
55 use "${JAVA_PKG_OPT_USE}" || JAVA_PKG_BSFIX="off"
55} 56}
56 57
57pre_src_compile() { 58pre_src_compile() {
58 java-pkg-opt_pkg_setup 59 java-pkg-opt-2_pkg_setup
59} 60}
60 61
61pre_src_install() { 62pre_src_install() {
62 java-pkg-opt_pkg_setup 63 java-pkg-opt-2_pkg_setup
63} 64}
64 65
65pre_src_test() { 66pre_src_test() {
66 java-pkg-opt_pkg_setup 67 java-pkg-opt-2_pkg_setup
67} 68}
68 69
69pre_pkg_preinst() { 70pre_pkg_preinst() {
70 java-pkg-opt_pkg_setup 71 java-pkg-opt-2_pkg_setup
71} 72}
72 73
73pre_pkg_postinst() { 74pre_pkg_postinst() {
74 java-pkg-opt_pkg_setup 75 java-pkg-opt-2_pkg_setup
75} 76}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20