Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 22:44:57 +0000
From:      Thomas Hurst <freaky@aagh.net>
To:        Anton Berezin <tobez@tobez.org>, freebsd-ports@FreeBSD.org, FreeBSD-gnats-submit@freebsd.org
Subject:   Re: ports/32234: Perl ports not $LOCALBASE clean
Message-ID:  <20011127224457.GA61772@sploo.aagh.net>
In-Reply-To: <20011127231239.E38343@heechee.tobez.org>
References:  <20011127222334.D38343@heechee.tobez.org> <20011127214539.GB61073@sploo.aagh.net> <200111240315.fAO3Fgd22633@freefall.freebsd.org> <20011127172040.G32687@heechee.tobez.org> <20011127122059.B55012@squall.waterspout.com> <20011127183533.C35261@heechee.tobez.org> <20011127183147.GB58337@sploo.aagh.net> <20011127221457.B38343@heechee.tobez.org> <20011127214003.GA61073@sploo.aagh.net> <20011127231239.E38343@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Anton Berezin (tobez@tobez.org) wrote:

> > This is ignored when perl's in taint mode or suid, relying on the
> > compiled-in @INC; if I have ports set to install to /usr/pkg (this
> > being the entire reason I noticed this issue), Perl won't use them,
> > despite that being a trusted location.
>
> I see.  Well, how about SITEPERL tunable in /etc/make.conf, which
> would alter perl's notion of sitelib and sitearch, and default to
> /usr/local?  One will have to rebuild world (or at least perl) to take
> advantage of it, but on the other hand, people who set LOCALBASE to
> anything different from /usr/local are expected to know what they are
> doing.

That sounds good, although having /usr/local in there too would also be
very desirable, since that's where Perl stuff not in ports (and going by
what I've heard of BSDPAN, stuff that's not in CPAN :) will go.

How about having it as a list like ldconfig_paths, so it can be set like:

SITEPERL = "$SITEPERL /usr/pkg"

So the admin can control whether ones installed via ports get priority
or not, and can even set entirely different paths should he feel the
need (might make some Perl hackers happy).

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/

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




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