This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
PORTDIR
From Gentoo Wiki (test)
The PORTDIR variable was used to point to the main package repository hosted on the system. It has since been deprecated in favor of the location
attribute (whose default value is /usr/portage) of the Gentoo repository configuration inside /etc/portage/repos.conf.
Il valore corrente dell'attributo location
può essere visualizzato utilizzando portageq:
user $
portageq get_repo_path / gentoo
/usr/portage