perl5.8 fixup

Eric Hall opendarwin.org at darkart.com
Tue Mar 10 16:31:08 PDT 2009


On Tue, Mar 10, 2009 at 08:34:54PM +0000, Marcus Calhoun-Lopez wrote:
> Eric Hall <opendarwin.org at ...> writes:
> 
> > 
> > On Tue, Mar 10, 2009 at 01:19:12AM +0000, Marcus Calhoun-Lopez wrote:
> > > 
> > > Although I do not feel strongly about it, I would still vote for the order
> > > site, perl base/core, vendor.
> > > It seems that the smaller the change, the better.
> > > 
> > > For what it's worth, it is the way FreeBSD does is
> > > (http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/perl5.8/).
> > > 
> > 
> > 	I'm pretty clear that for MacPorts the order
> > should be site, vendor, then base.  That way there is
> > the ability to (locally, site/user) put modules into
> > the first search directory, then MacPorts installed
> > modules are found next (from vendor), then the base
> > perl modules.
> 
> If I understand correctly, we would continue to install all
> p5 ports (even conflicting ones) into vendor.
> Site would be left empty for the site/user to install modules.
> If this is the case, it seems to me we want site to be searched last.
> It may not be a likely scenario, but if If the site/user installs a new
> conflicting module which breaks a MacPorts package in some way,
> portfiles, have no mechanism to select the older one.
> The user, however, can always select whichever one he/she wants with PERL5LIB.
>  
> If the consensus remains site, vendor, then base, I will drop the subject.

	I would think that if the site/user wants to install a
particular module at a particular rev (for some sort of custom stuff),
they'd want site_perl to be searched before the MP installed modules
(in vendor_perl) and the base perl modules.
	I agree they could break stuff, to me that's a feature of
having the flexibilty, not a bug, primarily because I don't expect
people who don't know what they're doing to be installing modules
into site_perl (even though I know perfectly well somebody will do
so, and then be stuck 'cause they don't really know what they're doing).

	If anyone else has ideas about the ordering, please let us know
shortly as I'd like to resolve this issue this week.


		-eric



More information about the macports-dev mailing list