Joel Rees wrote: > I'm looking at the instructions for building from source (FAQ 15) and > seeing what looks like environment variables that I could set to move the > source tree down a level. If I could put /usr/src, /usr/ports, > /usr/xenocara, /usr/obj, and /usr/xobj all under, say, /usr/bld, as > /usr/bld/src, /usr/bld/ports, /usr/bld/obj, /usr/bld/xenocara, and > /usr/bld/xobj, it would allow me to free up several device partitions while > still keeping the build tree separate from the rest of /usr. It would also > make allocating space and inodes for the build tree a bit more flexible.
refer to mk.conf. You set BSDSRCDIR and BSDOBJDIR and whatever and it works fine.