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

Bug 454602

Summary: make.globals: prepend PORTDIR with $EPREFIX
Product: Portage Development Reporter: Alexander Sulfrian <alexander>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 395633    
Bug Blocks:    

Description Alexander Sulfrian 2013-01-30 01:18:20 UTC
Hi,

currently PORTDIR is statically defined to /usr/portage in make.globals. Would it be possible to add ${EPREFIX} before it, so that I could symlink the make.globals into the prefix and it would simply work?

Thanks

Reproducible: Always

Steps to Reproduce:
1. grep ^PORTDIR /usr/share/portage/config/make.globals
Actual Results:  
PORTDIR=/usr/portage

Expected Results:  
PORTDIR=${EPREFIX}/usr/portage
Comment 1 Zac Medico gentoo-dev 2013-01-30 01:34:38 UTC
We tried this for awhile, but then we reverted it because there are some cases where it's better to have PORTDIR hardcoded (see bug #395633).

If you want to share make.globals like this, then you can if you override PORTDIR and stuff in make.conf.