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

Bug 865

Summary: use of variables for ./configure
Product: Portage Development Reporter: Spider <spider.gentoo>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Spider 2002-02-26 11:29:28 UTC
Since a lot of the .ebuilds (all?) use statically encoded path's for ./configure
(--prefix, --localstatedir --datadir etc. etc.) I wondered if it would be doable
/ preferrable to use a variable (in make.conf?) for each of theese so we get
consistency across all ebuilds, and reduce the risk of mistakes with the
packages getting installed into the "wrong place" . that way all ebuilds per
default would have the "right" path.
Any packages that need special treatment can go on as before.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-15 01:06:44 UTC
I think we have something like this since we have a default ./configure in
ebuild.sh.  See "econf" in /usr/lib/portage/bin/ebuild.sh