Summary: | dev-libs/libffi should only complain about libffi USE flag if set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dirkjan Ochtman (RETIRED) <djc> |
Component: | New packages | Assignee: | Samuli Suominen (RETIRED) <ssuominen> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | arfrever, toolchain |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dirkjan Ochtman (RETIRED)
2009-09-28 08:04:34 UTC
There's no sane way to depend upon sys-devel/gcc USE flags because it's slotted and you can switch between with gcc-config. `has_version sys-devel/gcc[libffi]` would return true only if any version of sys-devel/gcc is installed with "libffi" USE flag enabled. + 28 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> libffi-3.0.8.ebuild: + Use has_version to print warning only if sys-devel/gcc is built with USE + libffi. This can be made a blocking atom once sparc is done with + gnustep-base/gnustep-base and old versions are removed from tree. Thanks + to Dirkjan Ochtman and Arfrever Frehtes Taifersar Arahesis in bug 286733. Half-fix. Leaving this open, waiting for sparc. base/package.use.mask has sys-devel/gcc[libffi] masked now, and the useless warning is gone. |