On Thu, Apr 10, 2014 at 6:39 AM, Помазёнков Виталий <vit...@yandex.ru>wrote:

> Type command sudo -i and fill your password.
> Type command echo $PATH.
>
> *Result*
>
>
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/opt/local/bin:/opt/local/sbin
>

This is sudo's doing (and Apple's insofar as Apple determines both sudo
configuration and how the root account works), because you used -i.
MacPorts can't control either one. Try sudo -s instead; it preserves your
environment.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to