From owner-freebsd-current@FreeBSD.ORG Tue Jun 21 04:38:42 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5167616A41C; Tue, 21 Jun 2005 04:38:42 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C9043D1F; Tue, 21 Jun 2005 04:38:42 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j5L4cWlt051967; Mon, 20 Jun 2005 21:38:32 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j5L4cWnw051966; Mon, 20 Jun 2005 21:38:32 -0700 (PDT) (envelope-from obrien) Date: Mon, 20 Jun 2005 21:38:32 -0700 From: "David O'Brien" To: Robert Watson Message-ID: <20050621043831.GC93634@dragon.NUXI.org> Mail-Followup-To: freebsd-current@freebsd.org, Robert Watson , "M. Warner Losh" References: <20050619012425.L56734@fledge.watson.org> <20050620.124905.35871665.imp@bsdimp.com> <20050620201157.J26664@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050620201157.J26664@fledge.watson.org> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-current@FreeBSD.org, "M. Warner Losh" Subject: Re: dhclient less functional with nanobsd because of NO_CXX X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 04:38:42 -0000 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@FreeBSD.org)