See how the cmake-utils.eclass encourages people to define mycmakeargs to be a local variable. In the autotools-utils.eclass, the example shows the variable ``myeconfargs'' being set into the global scope. This violates convention, where globally-scoped variables should 1. have UPPERCASE names 2. avoided when the variable is dynamically built and only has implications for the current ebuild stage and shouldn't be seen by the invoked buildsystem.
Created attachment 260282 [details, diff] autotools-utils-local-myeconfargs.patch
Thanks for reporting this cleanup, assigning to eclass maintainer
Fixed. Thanks for reporting!
You missed the second hunk of my patch :-p. Thanks for committing the first hunk anyways! :-) --- autotools-utils.eclass 20 Jan 2011 00:12:59 -0000 1.6 +++ autotools-utils.eclass 21 Jan 2011 20:19:40 -0000 @@ -111,3 +111,3 @@ # src_configure() { -# myeconfargs=( +# local myeconfargs=( # --disable-readline
<insert random vulgar word here> I should stop providing so many usage examples ;) Thanks for head up.