From owner-freebsd-current Wed Feb 27 5:40: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 2288F37B402 for ; Wed, 27 Feb 2002 05:38:49 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g1RDaiW51734; Wed, 27 Feb 2002 15:36:44 +0200 (EET) (envelope-from ru) Date: Wed, 27 Feb 2002 15:36:44 +0200 From: Ruslan Ermilov To: "George V. Neville-Neil" Cc: freebsd-current@FreeBSD.ORG Subject: Re: Latest versions of bsd.lib.mk break picobsd... Message-ID: <20020227133644.GK30220@sunbay.com> References: <200202260038.QAA1161579@meer.meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202260038.QAA1161579@meer.meer.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 04:38:29PM -0800, George V. Neville-Neil wrote: > Hi Folks, > > I've tried contacting ru@freebsd.org directly but haven't seen anything so I > figure I'll throw this out to the list. On 21 Feb 2002 a change was made to > the > You'll have to pay some money if you need a 24-hour responsiveness. :-) > bsd.lib.mk and bsd.prog.mk which is commented, in part, as: > > Get rid of the (now unneeded) -I${DESTDIR}/usr/include magic in bsd.prog.mk > and bsd.lib.mk. Finish the removal of LDDESTDIR in bsd.lib.mk,v 1.55 -- we > no longer have users of it. > > This change was made by "ru." Alas this breaks the picobsd build since the > statically built libraries need some way to know to get their includes from the > directory you're building in. This does not affect a general 5.0 build (I checked > that this morning) but is still very problematic. I'm only just starting with the > picobsd stuff and I would love to fix this bug in the right place if only someone > could tell me what this change meant and how pervasive it was. > > Putting in an extra CFLAG for -I${SRC}usr/include works for some libraries but > breaks libbind as alluded to by this comment in the same checkin: > > (Attempt to move the "-nostdinc -I..." part of CFLAGS into the new CINCLUDES > (modeled after a similar CXXINCLUDES) eventually failed because hard-coding > ${WORLDTMP}/usr/include to be the first in the include list does not always > work, e.g. lib/libbind.) > > So, can someone help me out here? > What src/release PicoBSD script should I try to run to reproduce this? Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message