Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 06:21:38 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.org>
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:  <20010921061222.W70847-100000@delplex.bde.org>
In-Reply-To: <20010920205435.B66160@sunbay.com>

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




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