Re: dhclient less functional with nanobsd because of NO_CXX

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Mon, 27 Jun 2005 09:42:27 -0700
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

Received on Mon Jun 27 2005 - 14:42:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC