On Tue, Apr 08, 2014 at 03:33:52PM +0200, Marc Espie wrote: > Got fed up of the nth report "flavors are broken". > > The cause is always the same: for packages to build correctly, your setup > *must* propagate some env variables thru sudo during the fake/packaging stage. > > So, I finally added up a variable that's there just to trigger an error in > case your setup is not squeaky clean. > > Accordingly, be sure to integrate the latest sudoers modification (coming > to a snapshot + sysmerge near you soon), and you get a fairly explicit > clue from bsd.port.mk now...
In practical terms, that means that to build ports as user, you _need_ to be in wsrc group. Or use SUDO=/usr/bin/sudo -E in mk.conf. Landry
