[MacPorts] #57009: ImageMagick @6.9.9-40_1: inserts -lgomp into pkgconfig files, which breaks build when using clang

MacPorts noreply at macports.org
Tue Aug 21 16:22:29 UTC 2018


#57009: ImageMagick @6.9.9-40_1: inserts -lgomp into pkgconfig files, which breaks
build when using clang
--------------------------+------------------------
  Reporter:  kencu        |      Owner:  ryandesign
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  ImageMagick  |
--------------------------+------------------------

Comment (by kencu):

 I overrode the `pkg-config` files by adding this to the `virtuoso-7`
 Portfile:
 {{{
 configure.env-append IM_LIBS="-L/opt/local/lib -lMagickWand-6.Q16 -llcms2
 -lfreetype -lfftw3 -lxml2 -lfontconfig -lfreetype -lXext -lSM -lICE -lX11
 -lXt -llzma -lbz2 -lz -lltdl -lm -lMagickCore-6.Q16 -llcms2 -lfreetype
 -lfftw3 -lxml2 -lfontconfig -lfreetype -lXext -lSM -lICE -lX11 -lXt -llzma
 -lbz2 -lz -lltdl -lm"
 }}}
 and the build of `virtuoso-7` completed successfully, again pointing back
 to `ImageMagick`'s `pkg-config` files as the culprit I believe.

-- 
Ticket URL: <https://trac.macports.org/ticket/57009#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list