From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] p9p mk issue From: "Russ Cox" Date: Wed, 21 Nov 2007 11:01:10 -0500 In-Reply-To: <20071120224812.56E875B3E@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20071121160100.1BBBD1E8C22@holo.morphisms.net> Topicbox-Message-UUID: 0723e776-ead3-11e9-9d60-3106f5b1d025 > >> Don't laugh but I am trying to use identical mkfiles on > >> FreeBSD & plan9 for some programs and it seems this is > >> impossible. > > For now I just changed default MKSHELL to rc in src/cmd/mk. > What I was really arguing for was for simplifying MKSHELL > semantics or getting rid of it altogether since it only > exists in p9p mk. if you want to use rc in both places, then setting MKSHELL=rc is enough. the plan 9 mk will ignore it. MKSHELL is here to stay. the unix versions of mk have traditionally used sh not rc, and there are users who depend on that. also, while using sh by default is a little annoying, it simplifies the plan9port build process considerably, since rc doesn't have to get bootstrapped just to get mk running. russ