View Single Post
  #9   (View Single Post)  
Old 17th May 2012
comet--berkeley comet--berkeley is offline
Real Name: Richard
Package Pilot
 
Join Date: Apr 2009
Location: California
Posts: 163
Default

Quote:
Originally Posted by jggimi View Post
The unset is articulated in release(8).
I had not seen the release(8) man page before.

It clearly shows doing the unset DESTDIR RELEASEDIR immediately after the make release

And it probably is best not to set DESTDIR and RELEASEDIR in the .profile as ocicat says:

Quote:
Originally Posted by ocicat View Post
Don't make these values persist in ~/.profile. I have made this mistake before, & it will wreck havoc in very subtle ways if present when building ports. DESTDIR & RELEASEDIR should only be set when building userland, & never elsewhere. Once userland is finished building, make sure these variables are no longer set.
If I leave them set in the .profile then I will need to unset them every time I build ports as well as every time I build userland... too risky.

Maybe the FAQ needs to show the unset after the make release and explain that leaving them set can mess up the port builds as well.

Thanks again guys.

Last edited by comet--berkeley; 17th May 2012 at 06:23 AM. Reason: spelling
Reply With Quote