From owner-freebsd-stable Mon Jul 30 7:48:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail1.hub.org (webmail.hub.org [216.126.85.1]) by hub.freebsd.org (Postfix) with ESMTP id 6C63037B401 for ; Mon, 30 Jul 2001 07:48:54 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mail1.hub.org (8.11.3/8.11.1) with ESMTP id f6UEmtM62318; Mon, 30 Jul 2001 10:48:55 -0400 (EDT) (envelope-from scrappy@hub.org) Date: Mon, 30 Jul 2001 10:48:55 -0400 (EDT) From: "Marc G. Fournier" To: Anton Berezin Cc: Subject: Re: Perl5.6 to be MFC'd for 4.4-RELEASE? In-Reply-To: <20010730150941.A90487@heechee.tobez.org> Message-ID: <20010730103928.W55212-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Okay, so far what I've been able to figure out is: cd /usr/ports/Mk apply the following patch: *** bsd.port.mk.orig Mon Jul 30 10:41:11 2001 --- bsd.port.mk Mon Jul 30 10:41:47 2001 *************** *** 862,868 **** PERL_ARCH= mach .else .if ${OSVERSION} >= 300000 ! PERL_VERSION= 5.6.1 .else PERL_VERSION= 5.00502 .endif --- 862,868 ---- PERL_ARCH= mach .else .if ${OSVERSION} >= 300000 ! PERL_VERSION= 5.6.1 .else PERL_VERSION= 5.00502 .endif which will make your ports system know its 5.6.1 for installing Perl Ports ... and which allows lang/perl5 to know to install 5.6.1 ... If you install lang/perl5 as: 'make LOCALBASE=/usr install', it will put it all into the regular hierarchy, and, as Anton states, add 'NO_PERL=true' as appropriate ... The only 'problem' ... if you have any perl modules alredy installed, you appear to have to re-install those modules, but that is a small thing ... On Mon, 30 Jul 2001, Anton Berezin wrote: > On Mon, Jul 30, 2001 at 08:50:03AM -0400, Marc G. Fournier wrote: > > > okay, does anyone have instructions on how to install Perl5.6, from ports, > > to replace Perl5 in the tree? > > If you install it from ports (you will have to unforbid the port and to > edit the Mk/bsd.port.mk a bit), it will install itself in /use/local. > It is not a problem by itself if your scripts use the right shebang line > and/or you put /usr/local/bin before your /usr/bin. Plus, you can > always create a symlink if you wish, not it will get nuked if you do > installworld without NO_PERL=true in your /etc/make.conf. > > Alternatively, most every perl configures and builds just fine with sh > Configure -des (i.e., no wasted time to answer Configure's questions). > Here you'll have the same problem with /usr/bin link, though. > > > On Mon, 30 Jul 2001, Anton Berezin wrote: > > > On Sun, Jul 29, 2001 at 10:26:32PM -0400, Marc G. Fournier wrote: > > > > > Just curious as to whether this is planned or not, at this point in time? > > > > Nope, not in 4.4. > > =Anton. > -- > May the tuna salad be with you. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message