dhclient less functional with nanobsd because of NO_CXX

David O'Brien obrien at FreeBSD.org
Tue Jun 21 04:38:42 GMT 2005


On Mon, Jun 20, 2005 at 08:13:43PM +0100, Robert Watson wrote:
> On Mon, 20 Jun 2005, M. Warner Losh wrote:
> Well, actually, it's a granularity issue in the src/sbin/Makefile and its 
> conditional handling of devd based on NO_CXX without taking into account 
> whether we're building or installing.  Hence my comments about needing to 
> provide some make infrastructure, since devd isn't the only component that 
> falls into precisely this pit:
> 
>   SUBDIR= adjkerntz \
>           ...
>           ${_devd} \
>           ...
> 
>   .if !defined(NO_CXX)
>   _devd=          devd
>   .endif

We should change this to test for the existance of the built devd vs.
using the NO_CXX knob when the target is "install".  If we built a 'devd'
during 'make buildworld' then we should install it.

What we need is for NO_CXX to gain a little logic - if set during a build
target, don't build binaries written in C++.  If set during an install
target, don't install any C++ toolchain bits and have no farther meaning.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-current mailing list