1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 12/08/15 02:00 PM, Ulrich Mueller wrote: |
5 |
>>>>>> On Wed, 12 Aug 2015, Ciaran McCreesh wrote: |
6 |
> |
7 |
>>> pkg_pretend() { if use qt4; then required_use -qt5 else |
8 |
>>> required_use qt5 fi } |
9 |
> |
10 |
>> And how would the PM understand that -qt5 is conditional upon |
11 |
>> qt4? Such knowledge is required if it's supposed to |
12 |
>> auto-resolve stuff... |
13 |
> |
14 |
> Right, the above was too simple (and wrong). It should have |
15 |
> been: |
16 |
> |
17 |
> pkg_pretend() { use qt4 && use qt5 && required_use -qt5 use qt4 |
18 |
> || use qt5 || required_use qt4 } |
19 |
> |
20 |
|
21 |
I think Ciaran's point was more, if required_use is going to i.e. |
22 |
elog, it needs to elog that qt4 is being enabled because neither-of |
23 |
qt4 or qt5 are off, and similarly for why qt5 is being disabled. |
24 |
|
25 |
|
26 |
-----BEGIN PGP SIGNATURE----- |
27 |
Version: GnuPG v2 |
28 |
|
29 |
iF4EAREIAAYFAlXLjdwACgkQAJxUfCtlWe3K6QD+L3kdVxSIJDp3N+wBZEtuhtNT |
30 |
5kT7NXTdXuubE4Dgv7wA/1auz4k+rYQDZP7DP+i/JsHA/RMhOgUt7yc5a0H8yYHS |
31 |
=FXa+ |
32 |
-----END PGP SIGNATURE----- |