1 |
>>>>> On Thu, 11 Aug 2011, Fabio Erculiani wrote: |
2 |
|
3 |
> The case which triggered my attention was actually |
4 |
> app-office/libreoffice with USE="java". pkg_setup (through |
5 |
> java-utils-2.eclass java-pkg_switch-vm [1]) expects to find a |
6 |
> functional JDK environment, |
7 |
|
8 |
Generally, you cannot rely on any dependency (outside of the system |
9 |
set) being present in pkg_setup: |
10 |
|
11 |
<http://dev.gentoo.org/~ulm/pms/head/pms.html#x1-720008> |
12 |
|
13 |
Ulrich |
14 |
|
15 |
> [1] depend-java-query --get-vm "${JAVA_PKG_NV_DEPEND:-${DEPEND}}" |
16 |
> expects to find a sane JDK environment. |