| Summary: | app-benchmarks/bootchart-0.9-r4 USE=-java - /usr/bin/depend-java-query: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hppa, java |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jeroen Roovers (RETIRED)
2010-04-28 21:33:33 UTC
It's caused by the EAPI bump and I think this would adequately fix it:
Index: bootchart-0.9-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/bootchart-0.9-r4.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 bootchart-0.9-r4.ebuild
--- bootchart-0.9-r4.ebuild 27 Apr 2010 13:10:55 -0000 1.1
+++ bootchart-0.9-r4.ebuild 28 Apr 2010 21:38:47 -0000
@@ -56,6 +56,10 @@
java-pkg-opt-2_src_prepare
}
+src_configure() {
+ use java && java-ant-2_src_configure
+}
+
src_compile() {
if use java ; then
local antflags="jar -Dcompiler.nowarn=true $(use_doc)"
Please review.
I've fixed the eclass instead, thanks!
--- java-ant-2.eclass 12 Feb 2010 23:51:44 -0000 1.48
+++ java-ant-2.eclass 29 Apr 2010 08:39:11 -0000
@@ -143,6 +143,11 @@
# src_configure rewrites the build.xml files
# ------------------------------------------------------------------------------
java-ant-2_src_configure() {
+ # if java support is optional, don't perform this when the USE flag is off
+ if hasq java-pkg-opt-2 ${INHERITED}; then
+ use ${JAVA_PKG_OPT_USE} || return
+ fi
+
# eant will call us unless called by Portage
[[ -e "${T}/java-ant-2_src_configure-run" ]] && return
|