As per Marius Mauch's suggestion in Bug 43046 (http://bugs.gentoo.org/show_bug.cgi?id=43046#c25) I'm opening a new bug about adding support to portage for wrapping configure commands. This would be similar to what exists for make commands through the use of the $MAKE variable. My interest in getting this going is to allow colorization of configure scripts in the same way that you can do with compilations via $MAKE. After looking through ebuild.sh it looks to me like it shouldn't be too difficult to replace the configure commands with a CONFIGURE variable, however Marius mentioned he thought support for this would also be useful in helping remove some toolchain stuff out of portage (confcache) which I know nothing about. I would have submitted a patch with the changes I require, but I thought it's likely best to open it up to discussion first so my effort isn't wasted. First of all is this a good idea? What needs to happen for this feature to be most useful?
*** This bug has been marked as a duplicate of bug 43046 ***
oops, didn't look close enough to see that this is a follow-up of the other
stupid bugzilla
A patch would be useful.
Paludis provides the ECONF_WRAPPER variable, to be set in the bashrc, whic allows arbitrary wrapping of configure scripts. I am also attaching a patch for the ebuild.sh in portage version 2.1.4.4 which uses the same variable
Created attachment 147756 [details, diff] Diff to add ECONF_WRAPPER functionality to portage