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
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.