install specific version of portfile

Ryan Schmidt ryandesign at
Mon Feb 2 13:04:11 PST 2009

On Feb 2, 2009, at 14:30, Joshua Root wrote:

> Thierry wrote:
>> This week-end I discovered Macport and I was really astonished
>> about this tool !
>> Congratulations to all who build this gem.
>> What I wanted to do is use a perl package on a Mac, call  
>> Image::Magick.
>> It depends on ImageMagick library.
>> So, I put my sleeves up and start with macport.
>> Then install ImageMagick, so far so good.
>> The problem is that the installation of Perl Magick failed...
> IIRC, you can install ImageMagick with the perl variant and not worry
> about p5-perlmagick. To force a rebuild of ImageMagick with the new
> variant, use this command:
> sudo port -fn upgrade ImageMagick +perl
> For future reference, a list of the available variants is displayed by
> 'port variants <portname>'.

Josh is correct. However, if in the future you want to install an  
earlier version of a port for some reason, instructions are here:

P.S: Welcome to MacPorts!

More information about the macports-users mailing list