Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2002 09:48:05 -0400 (EDT)
From:      Trish Lynch <trish@bsdunix.net>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        Szilveszter Adam <sziszi@bsd.hu>, <current@FreeBSD.ORG>, <tobez@FreeBSD.ORG>
Subject:   Re: perl wrapper and PATH
Message-ID:  <20020608094010.M403-100000@femme.listmistress.org>
In-Reply-To: <200206080935.g589Z2v51306@zibbi.icomtek.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Jun 2002, John Hay wrote:

> > On Fri, Jun 07, 2002 at 11:26:18PM -0700, Bill Fenner wrote:
> > > I ran "use.perl port", and that gave me a working perl for mergemaster.
> > > Interestingly, "use.perl system" didn't give me back the perl wrapper;
> > > I'm not sure what I got.  Sigh.
> >
> > That script predates the removal of perl from the base system, and was
> > supposed to facilitate the switching between various perl versions. It
> > still has its justification of existence on -STABLE, but on -CURRENT, it
> > does not work well any more. What you got is likely links to nowhere,
> > your perl wrapper binary was clobbered.
> >
> > Bottom line: if at all, it should only be used for "use.perl port", for
> > the cases where the wrapper does not work as desired.
>
> Or maybe we should get rid of the wrapper and change the perl port/package
> to run "use.perl port" by default on current?
>
> John
> --
> John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>

The wrapper is there so that there are no suprises to people that
*expect* perl in the system.

What would possibly be a good idea is that the wrapper is there, but it
doesn;t actually redirect to the new perl. Then use.perl is run from the
port. The case for "system" should be removed or some way of relinking to
the wrapper instead should be provided?

The problem is that use.perl is needed on -STABLE systems, so... a
different behaviour when the OS version is >=5 might be needed?

I Cc:ed this to the ports maintainer just in case... If they would like I
can fix use.perl to have a different behaviour on -current and thereafter,
but I don;t want to step on anybody's toes.

-Trish


--
Trish Lynch					trish@bsdunix.net
FreeBSD						The Power to Serve
Ecartis Core Team				trish@listmistress.org
                   http://www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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