On 03.12.2020 22:11, Jason Bacon wrote:
Under pkgsrc, help/directories.help seems to indicate the same logic as
FreeBSD ports, but there does not appear to be an alternative to
LOCALBASE underlying PREFIX, and PREFIX is not supposed to be overridden
(not the case in FreeBSD ports, PREFIX is explicitly set in rare cases):
# PREFIX
# This is the directory where the package should install its
# files. This is usually LOCALBASE.
#
# Tags: read-only, system-defined, non-overridable, etc.
#
# See also:
# LOCALBASE.
#
# LOCALBASE
# This is the directory where all packages are usually installed.
# It is set by the user, and packages must not modify it.
#
Which leaves the question of specifically when the two might actually
differ.
There is a single package where they differ. That package is
shells/standalone-tcsh, and it is excluded by all bulk builds exactly
because it overrides PREFIX to be "/". No other package is allowed to
do this though.