From owner-cvs-all Fri Sep 21 3: 6:22 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 5228B37B41D; Fri, 21 Sep 2001 03:06:00 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8LA47153261; Fri, 21 Sep 2001 13:04:07 +0300 (EEST) (envelope-from ru) Date: Fri, 21 Sep 2001 13:04:07 +0300 From: Ruslan Ermilov To: Bruce Evans Cc: Nate Williams , Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/perl Makefile Makefile.inc src/gnu/usr.bin/perl/utils Makefile.inc Message-ID: <20010921130407.A52510@sunbay.com> References: <20010920205435.B66160@sunbay.com> <20010921061222.W70847-100000@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010921061222.W70847-100000@delplex.bde.org>; from bde@zeta.org.au on Fri, Sep 21, 2001 at 06:21:38AM +1000 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 Fri, Sep 21, 2001 at 06:21:38AM +1000, Bruce Evans wrote: > 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. > You mean "miniperl" was in SUBDIR list unconditionally? But that would break cross-builds, having the assigments above. > > 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. > What special cases? Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message