Moving sources (base/ports) from /usr
freebsd at edvax.de
Wed May 13 18:48:07 UTC 2020
On Wed, 13 May 2020 20:18:11 +0200, Ede Wolf wrote:
> Have not found time to gig into ports, but
> WRKDIRPREFIX and DISTDIR are the ones to set here. PORTSDIR seems only
> to be used by portsnap. But have to try these as of yet.
See "man 7 ports" for details about the supported configuration
variables, section "ENVIRONMENT".
> I do rememeber having read somewhere that WRKDIRPREFIX may also be used
> for buildworld, but have so far not been able to find this information
This variable is used only in very few places, primarily in
the release mechanism: /usr/src/release/release.sh and
/usr/src/sys/conf/kern.post.mk contain some evidence.
In "man 7 release", more variables are listed.
If you succeed in having /usr/src, /usr/obj, /usr/ports etc. in
nonstandard locations, but successfully get world, kernel, and
ports compiled, please report back to the list which variables
you set where to what values to make it work. That would be nice
for further documentation. :-)
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions