How to set temporary directory to external disk?

Joshua Root jmr at macports.org
Thu Jun 10 01:29:48 PDT 2010


On 2010-6-10 18:24 , Jiří Navrátil wrote:
> Hello,
> 
> I can't compile qt4-mac package, because I have only 6 GB free space and
> that's not enough. How I can set compilation (working files) to external
> drive?
> 
> I was trying to use these environment variables, but without success.
> 
> export portbuildpath=/Volumes/EXTERNAL/tmp
> export workpath=/Volumes/EXTERNAL/tmp1
> export worksrcpath=/Volumes/EXTERNAL/tmp2

Those are not environment variables. See the synopsis in the port(1) man
page for how to set portfile variables on the command line.

- Josh


More information about the macports-users mailing list