1 |
On 09/18/2012 03:35 AM, Ulrich Mueller wrote: |
2 |
>>>>>> On Tue, 18 Sep 2012, vivo75@gmail com wrote: |
3 |
> |
4 |
>> Il 18/09/2012 11:38, Ulrich Mueller ha scritto: |
5 |
>>> Which is longer than the original.;-) |
6 |
> |
7 |
>> RDEPEND=">=sys-libs/zlib-1.1.4 >=app-arch/bzip2-1.0.2 app-arch/xz-utils" |
8 |
>> DEPEND="${RDEPEND} virtual/pkgconfig" |
9 |
>> DEPENDENCIES=">=sys-libs/zlib-1.1.4 >=app-arch/bzip2-1.0.2 |
10 |
>> app-arch/xz-utils" dep:build?(virtual/pkgconfig)" |
11 |
> |
12 |
> Omitting the whitespace around the parentheses? This isn't legal |
13 |
> syntax for a dependency specification: |
14 |
> <http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-780009.2> |
15 |
> |
16 |
> Neither does it improve readability. |
17 |
> |
18 |
> Brian's claim was that dependencies would "collapse down naturally on |
19 |
> their own", which isn't the case in his example. |
20 |
|
21 |
Also, if we change the meaning of RDEPEND in the next EAPI, so that it's |
22 |
a hard build-time dep like DEPEND, then DEPEND="${RDEPEND} |
23 |
virtual/pkgconfig" can be reduced to DEPEND="virtual/pkgconfig". This is |
24 |
what I would like to do for the experimental EAPI 5-hdepend which is |
25 |
planned [1]. |
26 |
|
27 |
[1] https://bugs.gentoo.org/show_bug.cgi?id=317337#c120 |
28 |
-- |
29 |
Thanks, |
30 |
Zac |