From owner-cvs-all Thu Sep 20 13:22:18 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 30CB337B413; Thu, 20 Sep 2001 13:22:11 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id GAA28603; Fri, 21 Sep 2001 06:22:07 +1000 Date: Fri, 21 Sep 2001 06:21:38 +1000 (EST) From: Bruce Evans X-X-Sender: To: Ruslan Ermilov Cc: Nate Williams , Mark Murray , , Subject: Re: cvs commit: src/gnu/usr.bin/perl Makefile Makefile.inc src/gnu/usr.bin/perl/utils Makefile.inc In-Reply-To: <20010920205435.B66160@sunbay.com> Message-ID: <20010921061222.W70847-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Sep 2001, Ruslan Ermilov wrote: > Ah, the problem is completely different. What Mark tried to achieve is > to make building of Perl possible outside of the ``make buildworld''. > We need miniperl to build Perl. I'll see if I can come up with a more > elegant solution tomorrow. > > Mark, the idea! Why not just make a `build-tool' target in > perl/Makefile build miniperl, and adjust perl/Makefile.inc > as follows: > > .if exists(../../miniperl/miniperl) > MINIPERL?= ../../miniperl/miniperl > .elif exists(../miniperl/miniperl) > MINIPERL?= ../miniperl/miniperl > .else > MINIPERL?= miniperl > .endif > > The last case for `buildworld'. This is how it used to be done, except it used to be done more elegantly by always installing miniperl so that it is easy to exec. > Then anyone who wants to build the Perl outside ``buildworld'' > would run ``make build-tool'' first, then ``make all''. Correction: this is not how it used to be done :-). Anyone who wanted to build perl outside of ``buildworld'' just had to run ``make''. (This depended on miniperl being installed by a previous run; you have to do more, e.g. a full buildworld to bootstrap, just like for cc.) This is normal behaviour. The special cases for build-tools should only apply if BOOTSTRAPPING is set. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message