[MacPorts] #25844: p5-perlmagick: use ImageMagick sources

MacPorts noreply at macports.org
Wed Jul 28 08:41:19 PDT 2010


#25844: p5-perlmagick: use ImageMagick sources
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  astricker@…           
     Type:  defect                   |      Status:  new                   
 Priority:  Normal                   |   Milestone:                        
Component:  ports                    |     Version:  1.9.1                 
 Keywords:                           |        Port:  p5-perlmagick         
-------------------------------------+--------------------------------------

Comment(by astricker@…):

 Good catch! I didn't see the {{{+perl}}} variant of ImageMagick, but this
 seems to be the best solution. IMO there is no need to use the CPAN module
 at all. The drawback is that it's not really obvious that PerlMagick is
 available through this variant (compared with the stand-alone package
 {{{p5-perlmagick}}}) and I don't know if it's possible to define a
 dependency to a variant (e.g. something like {{{port:imagemagick+perl}}}).

 For backwards compatibility I'll like to see a p5-perlmagick that is some
 kind of ''meta package'' containing no source but a dependency to the
 {{{+perl}}} variant of ImageMagick. Although I don't know if this is
 possible. I tried to change the {{{p5-perlmagick}}} to use the ImageMagick
 source. Haven't had success so far and the Portfile is getting messy, as
 several build steps needs massaging.

 My current approach is

  1. Fetch the same ImageMagick archive like the {{{imagemagick}}} port
  1. Only extract the {{{PerlMagick}}} directory
  1. go ahead as before with the {{{PerlMagick}}} directory content
 (reinplace INC libs, build and install)

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


More information about the macports-tickets mailing list