Summary: | [Future EAPI] Use 'myeconfargs[@]' in default_src_configure | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Michał Górny <mgorny> |
Component: | PMS/EAPI | Assignee: | PMS/EAPI <pms> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | esigra, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174380 |
Description
Michał Górny
2013-05-19 08:45:40 UTC
I dislike the recent proliferation of magic variables that influence functions' behaviour by side effects. Passing things as explicit parameters is so much cleaner. You could just say econf "$(myeconfargs[@]}" in the last line of your example. I was under the impression that parameters to phase functions were strongly disliked by the Council. econf is not a phase function. The last line of his example is 'default', which calls a phase function. (In reply to comment #1) yeah, i can't see how the expansion of magic vars like this is better than accepting args to phase funcs Let's forget about this. |