Make variables to force non default libraries and includes?

From: Julian Elischer <julian_at_freebsd.org>
Date: Mon, 28 Apr 2014 15:48:25 +0800
I need to do the equivalent of  "cd /usr/src/cddl/usr.sbin/dtrace; 
make DESTDIR=/mumble all install"

but it pulls in libraries from the base system, which differ slightly 
from those in the source tree.

How can I force it to use /mumble2/include and /mumble2/lib instead of / ?

I can pre-populate /mumble2 using "make buildworld", "make libraries", 
and "make includes" but
I need to be able to do selective builds of just subdirectories after 
that..  I haven't spotted the right way of forcing the use of the 
"--system_root /mumble2" option in the compiles.

I know we do it in 'buildworld' is there a more generic way?

I have been looking in the .mk files but I haven't spotted it so far.
Received on Mon Apr 28 2014 - 05:48:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC