Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 19022 Details for
Bug 30772
emerge ant fails with "Warning: JAVA_HOME environment variable not set."
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Not very ideal patch for the ebuild
ant-1.5.3-r5.ebuild.patch (text/plain), 763 bytes, created by
Steven Elling
on 2003-10-09 11:13:22 UTC
(
hide
)
Description:
Not very ideal patch for the ebuild
Filename:
MIME Type:
Creator:
Steven Elling
Created:
2003-10-09 11:13:22 UTC
Size:
763 bytes
patch
obsolete
>--- ant-1.5.3-r5.ebuild.old 2003-10-09 10:25:32.000000000 -0500 >+++ ant-1.5.3-r5.ebuild 2003-10-09 11:51:34.000000000 -0500 >@@ -16,6 +16,16 @@ > RDEPEND=">=virtual/jdk-1.3" > IUSE="doc" > >+pkg_setup() { >+ if [ -z "`java-config --jdk-home`" ] ; then >+ eerror "The JDK Java Virtual Machine is not currently selected." >+ eerror "Run 'java-config --list-available-vms' to get a list of VMs." >+ eerror "Then run 'java-config --set-system-vm=<vm-id>'." >+ eerror "Finally, follow the instructions from java-config." >+ die "${PN} ${PV} install aborted!" >+ fi >+} >+ > src_unpack() { > unpack ${A} > cd ${S} >@@ -30,7 +40,6 @@ > } > > src_compile() { >- export JAVA_HOME=${JDK_HOME} > if [ `arch` == "ppc" ] ; then > # We're compiling _ON_ PPC > export THREADS_FLAG="green"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30772
: 19022