Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454602 - make.globals: prepend PORTDIR with $EPREFIX
Summary: make.globals: prepend PORTDIR with $EPREFIX
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 395633
Blocks:
  Show dependency tree
 
Reported: 2013-01-30 01:18 UTC by Alexander Sulfrian
Modified: 2013-01-30 01:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.