Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1262

Summary: manual ./configure
Product: Portage Development Reporter: Grant Goodyear (RETIRED) <g2boojum>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal CC: drobbins, mak-gentoo-bugzilla, mholzer, timster414
Priority: High    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 2765    
Bug Blocks: 6986    
Attachments: How

Description Grant Goodyear (RETIRED) gentoo-dev 2002-03-20 14:45:53 UTC
With the current portage, if a user wants to perform a package's ./configure
step by hand, the process is rather convoluted.  

# ebuild foo-x.y.z.ebuild fetch digest unpack
# cd /var/tmp/portage/foo-x.y.z/work/foo-x.y.z
# ./configure
# make
# touch ../../.compiled
# ebuild /usr/portage/bar/foo/foo-x.y.z.ebuild merge

It probably shouldn't be this hard.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-23 12:53:08 UTC
yes, we could write a front-end app for ./configure that allows tweaks to be 
injected easily.  But I'd rather integrate this into some kind of new USE 
system that will track (record) user-specified tweaks so that they don't have 
to specify them every time they build the package again.
Comment 2 SpanKY gentoo-dev 2002-09-14 23:49:49 UTC
*** Bug 5898 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan deBoer 2003-03-23 02:19:16 UTC
A file in "/etc/" with a mapping from ebuilds to configure options would be enough for me, with perhaps a "USE" variable (Or portage feature?) to turn it on. Editing the ebuild manually isn't a huge deal, (easier than the manual ./configure process) but remembering the changes between "emerge update"(s) is a pain.
Comment 4 Shahar Goldin 2003-08-02 01:04:37 UTC
how about adding a -- option to emerge such that all further options will be passed to ./configure?
I think this is what startx does- all options after startx are passed to startx, but all options after -- are passed to X

i.e.
startx xterm -- :1 layout=singlehead

an example of using this with emerge would be
emerge --nodeps xpilot -- --prefix=/usr/games/
Comment 5 Charles Goodwin 2003-10-07 09:52:24 UTC
Considering how often you'd do this, it's hardly that convoluted.  Since
this bug is so freaking old, can we mark this as either 'later' or 'invalid'?
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-10-08 00:35:02 UTC
EXTRA_ECONF is in portage since ~2.0.42
just not made public because it's not sticky yet.
Comment 7 Timothy 2017-11-20 08:17:46 UTC
Created attachment 505056 [details, diff]
How