On Jan 28, 2013, at 1:59 PM, Rainer Duffner <rai...@ultra-secure.de> wrote:

>       
> Am 28.01.2013 um 18:31 schrieb Glen Barber <g...@freebsd.org>:
> 
>> On Mon, Jan 28, 2013 at 06:28:02PM +0100, Rainer Duffner wrote:
>>> I go from PERL 5.10 to PERL 5.16, for example and it complains that
>>> perl5.16 conflicts with perl5.10...
>>> 
>>> This I needed, too:
>>> 
>>> pkg set -o long/perl5.10:lang/perl5.16
>>> pkg remove perl     
>>> pkg set -o devel/pkg-config:devel/pkgconf
>>> pkg remove -f pkg-config
>>> 
>> 
>> Hmm, you should not have needed to remove perl or pkg-config.  They
>> should have been upgraded as any other package.
>> 
> 
> 
> I tried it without and it said it conflicted. It wanted to install perl5.16, 
> without doing anything to 5.10.


The lang/perl5.10 and lang/perl5.16 ports are separate ports that are marked in 
their respective Makefiles as conflicting (because they install files into 
common places).  Perl 5.16 is not an "upgrade" of Perl 5.10 in the standard 
ports sense.  That is why both the Makefile and pkgng will complain if you try 
and install both (e.g., installing Perl 5.16 when Perl 5.10 is still installed).

If you want to switch to lang/perl5.16 from lang/perl5.10 you could follow a 
procedure like that outlined in the 20120630 entry of /usr/ports/UPDATING.

Cheers,

Paul.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to