~/.macports

Clemens Lang cal at macports.org
Tue Feb 10 03:47:52 PST 2015


Hi Ian,

----- On 10 Feb, 2015, at 11:37, René J.V. Bertin rjvbertin at gmail.com wrote:

> As I said, my ~/.macports on my Mac appears to be unused since november 2013 or
> so. However, the tiny test install I have on my Linux system does contain a lot
> of things that appear to be copies, but also things like "home" the function of
> which is unclear to me.

~/.macports is used instead of /opt/local/var/macports when you run MacPorts in
a root installation but without root privileges. As such, MacPorts will put
downloaded tarballs, work directories and build support files there when you,
for example, run
  port build qt4-mac # note the lack of sudo
The "home" directory in there is used as a target for $HOME during build, because
some builds require a writable home but the default of the macportsuser is not,
and we don't want to clutter your real home with whatever $buildsystem thinks it
wants to put there.

You can simply delete ~/.macports

-- 
Clemens Lang


More information about the macports-dev mailing list