Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2020 20:48:03 +0200
From:      Polytropon <>
Subject:   Re: Moving sources (base/ports) from /usr
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 
> again.

This variable is used only in very few places, primarily in
the release mechanism: /usr/src/release/ and
/usr/src/sys/conf/ 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. :-)

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>