From owner-freebsd-arch Thu Jan 25 10:35:24 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 9FF1337B402 for ; Thu, 25 Jan 2001 10:35:06 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id D38FDB87; Thu, 25 Jan 2001 10:35:05 -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 KAA25484; Thu, 25 Jan 2001 10:35:04 -0800 (PST) Message-ID: <3A7071D8.F67B35BF@cup.hp.com> Date: Thu, 25 Jan 2001 10:35:04 -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> <3A6F675F.1434C601@cup.hp.com> <20010125111440.A578@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: > > As I stated in my original post though, this patch is meant for outside > software packages which might still like to use bsd.lib.mk, install > their stuff in /usr/local or such, and have the install fail because > no one has created /usr/local/include/outsidepkg/. I somehow think our *.mk files are unsuitable for a wide audience. They seem to be made very specificly targeted for the FreeBSD source tree. Making the change is a signal that we promote/support the use of these files outside the source tree and I don't think we can deliver. This normally ends up in endless hackery until someone does a rewrite. > And once again, yes, I know this can be done by overriding the > beforeinstall target, but this requires knowledge of the inner workings > of bsd.lib.mk - namely, explicitly invoking ${MAKE} _includeinstall. > I suspect _includeinstall has that underscore for a reason ;) Hmmm, yes. I see what you mean. beforeinstall should have been an (empty) leaf dependency for it to be easily overridable. If we ever want to rewrite the *.mk files, these hacks will very likely go away and break their use outside the source tree. Other than this, if noone objects or has any good alternatives, don't let me stop you from making the change. -- 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