dhclient less functional with nanobsd because of NO_CXX

Brooks Davis brooks at one-eyed-alien.net
Mon Jun 27 16:42:28 GMT 2005


On Sun, Jun 19, 2005 at 01:27:58AM +0100, Robert Watson wrote:
> 
> Observation on dependencies between components and nanobsd:
> 
> In the old world order, dhclient backgrounded and waited for the link 
> state to come up.  In the new world order, dhclient exits if the link 
> state is down, relying on devd to restart it.  devd isn't build if NO_CXX 
> is set, as it's written in C++, and NO_CXX is a useful (and default) thing 
> to set for nanobsd for obvious reasons.  It sounds like something here is 
> an argument for:
> 
> - Allowing C++ to be built as a build dependency, but not installed.
> - Rewriting devd to not be in C++.
> - Providing an option so that dhclient's old and useful behavior can be
>   restored.
> 
> Glancing at the dhclient man page didn't suggest an obvious command line 
> flag for "don't exit on no link state"...

As a workaround of sorts, you could install the ifstated port.  Fixing
the build to build g++ and not install it is probalby best.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050627/35283c70/attachment.bin


More information about the freebsd-current mailing list