From owner-cvs-all Sat Aug 29 15:40:23 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14187 for cvs-all-outgoing; Sat, 29 Aug 1998 15:40:23 -0700 (PDT) (envelope-from owner-cvs-all) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14181 for ; Sat, 29 Aug 1998 15:40:20 -0700 (PDT) (envelope-from adam@veda.is) Received: (from adam@localhost) by veda.is (8.9.0/8.9.0) id WAA01362; Sat, 29 Aug 1998 22:38:12 GMT From: Adam David Message-Id: <199808292238.WAA01362@veda.is> Subject: Re: make.conf In-Reply-To: <199808292222.QAA03532@harmony.village.org> from Warner Losh at "Aug 29, 98 04:22:33 pm" To: imp@village.org (Warner Losh) Date: Sat, 29 Aug 1998 22:38:11 +0000 (GMT) Cc: committers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > In message <199808292159.VAA00393@veda.is> Adam David writes: > : bsd.port.mk is used to build ports, so ports.conf could be included there. > : If there is no suitable bsd.*.mk for including src.conf then arrange things > : so there is a corresponding bsd.src.mk or equivalent mechanism for including > : src.conf. > > The biggest problem is that including it in bsd.port.mk is too late OK, is there any way of detecting which part of the tree is being built that can be done without changing practically every Makefile? Then the relevant included file could be selected on that basis. Or is there a suitable macro that would expand to the path of the current Makefile and it could be worked out from there? -- Adam David