Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139418 - Add ability to portage for wrapping configures via a $CONFIGURE variable which would enable colorization of configure scripts and to move confcache out of portage
Summary: Add ability to portage for wrapping configures via a $CONFIGURE variable whic...
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2006-07-06 06:19 UTC by Tim Burrell
Modified: 2008-03-30 23:09 UTC (History)
2 users (show)

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


Attachments
Diff to add ECONF_WRAPPER functionality to portage (ebuild.sh.econf_wrapper.diff,871 bytes, patch)
2008-03-30 23:09 UTC, Alex Elsayed
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Burrell 2006-07-06 06:19:14 UTC
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?
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2007-01-31 23:53:59 UTC

*** This bug has been marked as a duplicate of bug 43046 ***
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2007-01-31 23:54:50 UTC
oops, didn't look close enough to see that this is a follow-up of the other
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2007-01-31 23:58:45 UTC
stupid bugzilla
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-06-07 14:26:51 UTC
A patch would be useful.
Comment 5 Alex Elsayed 2008-03-30 23:08:19 UTC
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
Comment 6 Alex Elsayed 2008-03-30 23:09:20 UTC
Created attachment 147756 [details, diff]
Diff to add ECONF_WRAPPER functionality to portage