From owner-freebsd-hackers Sat Jun 22 05:30:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA24137 for hackers-outgoing; Sat, 22 Jun 1996 05:30:52 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA24131 for ; Sat, 22 Jun 1996 05:30:49 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id WAA13854 for hackers@freebsd.org; Sat, 22 Jun 1996 22:34:36 +0930 From: Michael Smith Message-Id: <199606221304.WAA13854@genesis.atrad.adelaide.edu.au> Subject: Bmaking 3rd-party components To: hackers@freebsd.org Date: Sat, 22 Jun 1996 22:34:35 +0930 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Continuing in a series of proposals aimed at dealing with the presence of third-party code in the FreeBSD tree, and as inspired by Garret's comment about not needing to mess with a forecign tree in order to succesfully bmake it. Put the required parts of the foreign tree under src/foreign. Put the bmakefile(s) that refer to the foreign code in directories in appropriate places, and point to the foreign code using .PATH: I just did this for Tcl and it works quite well. (And as a sideeffect I have a bmaked Tcl 7.5 to put my money where my mouth is). In fact, it's highly desirable for something like Tcl which produces several resultant entities. Collecting everything under src/foreign (and perhaps a subcategory src/foreign/gnu) would make doing version sweeps easier, and makes where something is put a simpler choice 8) (eg. tcl, is it a library or a program?) Exact preference (and makefile simplicity) could be helped with a makefile variable FOREIGN_BASE (and maybe FOREIGN_GNU_BASE) which pointed to the root of the foreign code base. Suggestions? Comments? Brickbats? -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[