Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] vala.eclass: change vala_src_prepare behavior when USE=-vala
Date: Wed, 19 Sep 2012 20:35:52
Message-Id: 505A2C09.6010104@gentoo.org
In Reply to: Re: [gentoo-dev] vala.eclass: change vala_src_prepare behavior when USE=-vala by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 19/09/12 03:37 PM, Ciaran McCreesh wrote:
5 > On Wed, 19 Sep 2012 15:26:44 -0400 Alexandre Rostovtsev
6 > <tetromino@g.o> wrote:
7 >> Pacho Ramos has suggested making vala_src_prepare() into a no-op
8 >> in the common situation where vala is in IUSE and USE=-vala.
9 >
10 > There's no way to obtain the effective value of IUSE from within
11 > an ebuild or eclass. You'll need to use an independent variable to
12 > get this information.
13 >
14
15 I don't think that the 'effective' value of IUSE matters in this
16 particular case. This would be the 'explicit' value as is hard-coded
17 in the ebuild that would need to be checked against, I expect?
18
19 Unless eclasses and phase functions are in the habit of removing
20 entries from IUSE, I don't see this being an issue?
21
22 -----BEGIN PGP SIGNATURE-----
23 Version: GnuPG v2.0.19 (GNU/Linux)
24
25 iF4EAREIAAYFAlBaLAkACgkQ2ugaI38ACPDeDAD9Ea1CalzAp0poqTh3mTtpwTt8
26 LVu5vNcZF311lIDJDE0A/jibvhrqIbB5Sw9syPvK8I0j97LGOSXPpZcfN9LYKCHF
27 =1wDn
28 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] vala.eclass: change vala_src_prepare behavior when USE=-vala Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>