Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2020 20:48:03 +0200
From:      Polytropon <freebsd@edvax.de>
To:        listac@nebelschwaden.de
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Moving sources (base/ports) from /usr
Message-ID:  <20200513204803.2dc5fbde.freebsd@edvax.de>
In-Reply-To: <9d3bae11-da04-3e9d-8c81-92e78fed7593@nebelschwaden.de>
References:  <20200508210444.7945f4ba@kaperfahrt.nebelschwaden.de> <b7426651-3f0e-8752-4f64-61cbfb0ec236@heuristicsystems.com.au> <9d3bae11-da04-3e9d-8c81-92e78fed7593@nebelschwaden.de>

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/release.sh and
/usr/src/sys/conf/kern.post.mk contain some evidence.
In "man 7 release", more variables are listed.





Sidenote:

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. :-)



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200513204803.2dc5fbde.freebsd>