[MacPorts] #51310: ImageMagick: update to 7.x
MacPorts
noreply at macports.org
Thu Nov 7 01:20:42 UTC 2019
#51310: ImageMagick: update to 7.x
--------------------------+------------------------
Reporter: mopihopi | Owner: ryandesign
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ImageMagick |
--------------------------+------------------------
Comment (by josephsacco):
I can almost see how to make this work. The problem is ImageMagick uses
pkgconfig. This can be seen by running {{{port contents ImageMagick}}}.
* The libraries are uniquely named
* The "etc" files live in their own directory
* The "include" files live in their own directory
* The "doc" files live in their own directory
* The program file names in "bin" can be made unique by specifying a
{{{configure}}} argument:
{{{
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program
names
--program-suffix=SUFFIX append SUFFIX to installed program
names
--program-transform-name=PROGRAM run sed PROGRAM on installed program
names
}}}
As it stands, pkgconfig files are created as shown:
{{{
ImageMagick++-6.Q16.pc Magick++-6.Q16.pc MagickWand-6.Q16.pc
ImageMagick++.pc Magick++.pc MagickWand.pc
ImageMagick-6.Q16.pc MagickCore-6.Q16.pc
ImageMagick.pc MagickCore.pc
}}}
The files named "fileName-6.Q16.pc" are copies[rather than hard links] of
the files named "fileName.pc" [who knows why].
What to do?
If you wanted only one version to be "the" version of ImageMagick at any
given time. a {{{select_ImageMagick}}} port with its link magic would
solve the problem.
Just some thoughts...
-Joseph
--
Ticket URL: <https://trac.macports.org/ticket/51310#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list