[MacPorts] #16830: RFE: Have only one perl5 package

MacPorts noreply at macports.org
Fri Nov 7 14:47:23 PST 2008


#16830: RFE: Have only one perl5 package
------------------------------------+---------------------------------------
  Reporter:  mcalhoun at macports.org  |       Owner:  mcalhoun at macports.org
      Type:  enhancement            |      Status:  assigned             
  Priority:  Normal                 |   Milestone:  Port Enhancements    
 Component:  ports                  |     Version:  1.6.0                
Resolution:                         |    Keywords:                       
      Port:                         |  
------------------------------------+---------------------------------------
Changes (by blb at macports.org):

 * cc: blb at macports.org (added)


Comment:

 If we go with perl5 being the primary port for perl, there needs to be
 some way to handle when its version changes since modules are installed in
 a version-specific subdir, eg (for p5-uri):
 {{{
 ${prefix}/lib/perl5/vendor_perl/5.8.8/URI.pm
 }}}
 So if you upgrade perl5 (I did to 5.10.0 as a test), then try to use
 p5-uri ({{{/Users/blb/MacPorts/mp-test}}} being ${prefix} here):
 {{{
 $ ~/MacPorts/mp-test/bin/perl5 -e 'require URI;'
 Can't locate URI.pm in @INC (@INC contains: /Users/blb/MacPorts/mp-
 test/lib/perl5/5.10.0/darwin-2level /Users/blb/MacPorts/mp-
 test/lib/perl5/5.10.0 /Users/blb/MacPorts/mp-
 test/lib/perl5/site_perl/5.10.0/darwin-2level /Users/blb/MacPorts/mp-
 test/lib/perl5/site_perl/5.10.0 /Users/blb/MacPorts/mp-
 test/lib/perl5/vendor_perl/5.10.0/darwin-2level /Users/blb/MacPorts/mp-
 test/lib/perl5/vendor_perl/5.10.0 /Users/blb/MacPorts/mp-
 test/lib/perl5/vendor_perl .) at -e line 1.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16830#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list