[MacPorts] #15833: perl modules: depend on Perl 5.x instead of Perl 5.8

MacPorts noreply at macports.org
Thu Jul 3 17:29:44 PDT 2008


#15833: perl modules: depend on Perl 5.x instead of Perl 5.8
------------------------------------+---------------------------------------
  Reporter:  pmagrath at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement            |      Status:  new                                  
  Priority:  Normal                 |   Milestone:  MacPorts base enhancements           
 Component:  base                   |     Version:  1.6.0                                
Resolution:                         |    Keywords:                                       
------------------------------------+---------------------------------------
Comment (by raimue at macports.org):

 The perl5 port group uses the version of perl which is available at
 `${prefix}/bin/perl`.

 So as an immediate workaround(!) you can use this approach:
 {{{
 sudo port install perl5.10
 sudo ln -sf /opt/local/bin/perl5.10.0 /opt/local/bin/perl
 sudo port -fn upgrade p5-*
 }}}

 This should make all p5-* ports use perl5.10 instead of perl5.8. Note that
 this will break as soon as you upgrade perl5.8 as it will restore the
 `/opt/local/bin/perl` symlink.

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


More information about the macports-tickets mailing list