Lines 16-21
Link Here
|
16 |
RDEPEND=">=virtual/jdk-1.3" |
16 |
RDEPEND=">=virtual/jdk-1.3" |
17 |
IUSE="doc" |
17 |
IUSE="doc" |
18 |
|
18 |
|
|
|
19 |
pkg_setup() { |
20 |
if [ -z "`java-config --jdk-home`" ] ; then |
21 |
eerror "The JDK Java Virtual Machine is not currently selected." |
22 |
eerror "Run 'java-config --list-available-vms' to get a list of VMs." |
23 |
eerror "Then run 'java-config --set-system-vm=<vm-id>'." |
24 |
eerror "Finally, follow the instructions from java-config." |
25 |
die "${PN} ${PV} install aborted!" |
26 |
fi |
27 |
} |
28 |
|
19 |
src_unpack() { |
29 |
src_unpack() { |
20 |
unpack ${A} |
30 |
unpack ${A} |
21 |
cd ${S} |
31 |
cd ${S} |
Lines 30-36
Link Here
|
30 |
} |
40 |
} |
31 |
|
41 |
|
32 |
src_compile() { |
42 |
src_compile() { |
33 |
export JAVA_HOME=${JDK_HOME} |
|
|
34 |
if [ `arch` == "ppc" ] ; then |
43 |
if [ `arch` == "ppc" ] ; then |
35 |
# We're compiling _ON_ PPC |
44 |
# We're compiling _ON_ PPC |
36 |
export THREADS_FLAG="green" |
45 |
export THREADS_FLAG="green" |