On Mon, Jan 20, 2014 at 08:04:35AM -0600, Adam Mercer wrote:
> But that would lead to the build failing without manual intervention,
> i.e. manually deactivating the port. I'm trying to automate this so
> users don't notice the problem.

You might be able to use elevateToRoot and dropPrivileges from
portutil.tcl, lines 2874 and 2891. If you do, please make sure this will
work correctly with non-root installations and take care to drop
privileges again if you picked them up.

-- 
Clemens Lang

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to