From owner-freebsd-arch Wed Jan 24 15:39:41 2001 Delivered-To: freebsd-arch@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id F197737B400 for ; Wed, 24 Jan 2001 15:39:24 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 0329CAF9; Wed, 24 Jan 2001 15:39:23 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id PAA25097; Wed, 24 Jan 2001 15:38:07 -0800 (PST) Message-ID: <3A6F675F.1434C601@cup.hp.com> Date: Wed, 24 Jan 2001 15:38:07 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Pentchev Cc: Warner Losh , clefevre@noos.fr, freebsd-arch@FreeBSD.ORG Subject: Re: patch for bsd.lib.mk to create include and lib dirs References: <20010124113902.B332@ringworld.oblivion.bg> <200101242202.f0OM2I961735@harmony.village.org> <20010125004143.B442@ringworld.oblivion.bg> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev wrote: > > > But why have a define for this? Why not check to make sure that > > directory is missing before trying to create it? > > I'd rather it was a define, because automatically creating directories > might mean new directories *in the source tree* are left out of the > hier mtree files. I don't understand this. There's a problem when the library is being installed. This either means that the directory has not been added in Makefile.inc1 or that the mtree files need to be updated. In both cases, creating the directory obfuscates a bug. The proper fix would be to add the directory to wherever it had to be created in the first place. Right? -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message