"Dan Mahoney (Ports)" <[email protected]> writes:
> I’m doing some work on Jared Mauch’s efforts to make Mailman2 work
> under Python3 (because mailman3 is….a problem child that I don’t want
> to talk to)….
>
> And I notice the original port uses something in /usr/ports/Mk/users/fakeroot.
You mean Mk/Uses/fakeroot.mk, which contains this:
.if !defined(_INCLUDE_USES_FAKEROOT_MK)
_INCLUDE_USES_FAKEROOT_MK= yes
BUILD_DEPENDS+= fakeroot:security/fakeroot
. if ${UID} != 0
FAKEROOT?= fakeroot
. endif
.endif
This means that if a port has `fakeroot` in its USES variable, the
security/fakeroot port will be added as a build dependency, and if the
port is being built by an unprivileged user, the variable FAKEROOT is
defined to `fakeroot`.
You will find more information about what this is for in the
security/fakeroot port.
DES
--
Dag-Erling Smørgrav - [email protected]