#12950: perl5.8 @INC path should be reversed to be able to include vendorlib first. ------------------------------+--------------------------------------------- Reporter: nox@… | Owner: ricci@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.0 Keywords: | Port: ------------------------------+--------------------------------------------- Changes (by ricci@…): * status: new => assigned Comment: I've added several patch files to this ticket to do what I've tested for altering the perl5.8 @INC array - making perl search for modules in site_perl, vendor_perl, and then the base perl5.8, as well as changes to the Portfile to avoid man page collisions when p5-* modules are installed. There are also patches for two perl modules that required -f before this change, p5-test-simple and p5-scalar-list-utils - they now do not require -f to install and their modules are picked up by perl5.8 if installed. So far I've tested for man page collision with the above and known items like p5-cgi, no problems with collisions. p5-* man pages are detected before the mac-ports installed ones and before the system installed p5-* man pages. The only problem is that the system installed p5-* man pages are found before the perl5.8 man pages, I'm not seeing a clean solution for that without requiring alteration of /etc/man.conf or the like. I've also tested installing ~75 modules and using them, no (detected) problems there either. The patches to test are: Portfile.20090310.1655.patch patch-perl.c.2.diff p5-test-simple.Portfile.patch p5-scalar-list-utils.Portfile.patch Please report any success/failure shortly, I'd like to commit this by the end of the week. As well, I figure on making the same @INC and man page changes for perl5.10 so there are no issues with some p5-* ports working with perl5.8 and not with perl5.10. -- Ticket URL: <http://trac.macports.org/ticket/12950#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS