On Apr 21, 2013, at 23:16, SH Development wrote:

> I have a port installed as perl5.16 that is working fine with the apache2 
> port.
> 
> apache2 is dependent on perl5 and when I try to upgrade apache2, it 
> re-installs perl5.12 which I don't want.
> 
> So is perl5 an alias to the perl5.12 port and if so, how do I change it?

The perl5 port simply installs symlinks to the desired version of perl, so that 
you can just type "perl" (instead of having to type "perl5.12" for instance). 
By default we assume you desire perl 5.12. If you want perl 5.16 instead, then 
install the perl5 port with its +perl5_16 variant.

$ port variants perl5
perl5 has the variants:
   perl5_10: use perl 5.10
     * conflicts with perl5_12 perl5_14 perl5_16 perl5_8
[+]perl5_12: use perl 5.12
     * conflicts with perl5_10 perl5_14 perl5_16 perl5_8
   perl5_14: use perl 5.14
     * conflicts with perl5_10 perl5_12 perl5_16 perl5_8
   perl5_16: use perl 5.16
     * conflicts with perl5_10 perl5_12 perl5_14 perl5_8
   perl5_8: use perl 5.8
     * conflicts with perl5_10 perl5_12 perl5_14 perl5_16

$ sudo port install perl5 +perl5_16

Note that perl 5.12 is still the default version of perl in MacPorts. 
Individual ports might depend on perl 5.12-specific ports, so there's probably 
no way for you to avoid also having perl5.12 installed, until such a time as we 
change the default version of perl in MacPorts. This should not be a problem 
however; the perl5.x ports are designed to be simultaneously installable and to 
not interfere with one another.


_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to