HomeFreeBSD

Fix "need root" logic for PORT_DBDIR.

Description

Fix "need root" logic for PORT_DBDIR.

When PORT_DBDIR is set to a user directory, we shouldn't need su to
manipulate options. This also shouldn't depend on INSTALL_BY_USER, as
building != installing.

Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D6349

Details

Provenance
jonathanAuthored on
Differential Revision
D6349: Fix "need root" logic for PORT_DBDIR.
Parents
rP415153: Remove duplicate port
Branches
Unknown
Tags
Unknown