Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 13:04:07 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Nate Williams <nate@yogotech.com>, Mark Murray <markm@FreeBSD.org>, 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>
In-Reply-To: <20010921061222.W70847-100000@delplex.bde.org>; from bde@zeta.org.au on Fri, Sep 21, 2001 at 06:21:38AM %2B1000
References:  <20010920205435.B66160@sunbay.com> <20010921061222.W70847-100000@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010921130407.A52510>