From owner-freebsd-ports Tue Nov 27 14:45: 9 2001 Delivered-To: freebsd-ports@freebsd.org Received: from sploo.aagh.net (pc2-hart4-0-cust103.mid.cable.ntl.com [213.107.122.103]) by hub.freebsd.org (Postfix) with ESMTP id AC69C37B41B; Tue, 27 Nov 2001 14:44:59 -0800 (PST) Received: from freaky by sploo.aagh.net with local (Exim 3.33 #1) id 168qyH-000G7n-00; Tue, 27 Nov 2001 22:44:57 +0000 Date: Tue, 27 Nov 2001 22:44:57 +0000 From: Thomas Hurst To: Anton Berezin , 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> Mail-Followup-To: Anton Berezin , freebsd-ports@FreeBSD.org, FreeBSD-gnats-submit@freebsd.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011127231239.E38343@heechee.tobez.org> User-Agent: Mutt/1.3.23.2i Organization: Not much. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * 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