Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383901 - gnome2.eclass: please use in_iuse() (from eutils)
Summary: gnome2.eclass: please use in_iuse() (from eutils)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 262491 383899
Blocks: gnome2.eclass
  Show dependency tree
 
Reported: 2011-09-21 09:33 UTC by Michał Górny
Modified: 2013-01-20 12:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-21 09:33:44 UTC
PMS disallows lookups of ${IUSE} from eclasses (it is undefined what exactly is in there at that point). gnome2 uses that for gtk-doc magic and .la punting; both should be replaced by more explicit solutions.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-23 07:48:51 UTC
Ok, we decided to keep using IUSE like this, so please just migrate your has ${IUSE//magic} to in_iuse() from eutils.eclass.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-12-27 22:39:26 UTC
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commitdiff;h=f3c55f4fd61a2abccd1d7c528d76804e45da88a9 
In the second hunk the following code can be used:
if ! use_if_iuse static-libs; then
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-12-27 22:54:55 UTC
updated in overlay.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-20 12:27:35 UTC
Commited to the tree a few days ago.