Module Name: pkgsrc
Committed By: rillig
Date: Sun Oct 8 20:31:38 UTC 2006
Modified Files:
pkgsrc/mk/package: bsd.package.mk package.mk
Log Message:
Added a new variable MAKE_PACKAGE_AS_ROOT that controls whether the
package needs to be packed by root or whether the unprivileged user can
do that as well. Most packages don't need root privileges, but the
default value is nevertheless "yes" to not break too many existing
packages.
pkgsrc users are encouraged to add the following to their mk.conf:
MAKE_PACKAGES_AS_ROOT?= no
The "?=" operator here is important because after the testing phase,
this variable is only intended to be set by packages. If "=" would be
used instead, packages could not override the value.