[MacPorts] #40692: p5.12-perlmagick fails to build on 10.5/ppc (-fopenmp)

MacPorts noreply at macports.org
Mon Oct 7 23:47:22 PDT 2013


#40692: p5.12-perlmagick fails to build on 10.5/ppc (-fopenmp)
----------------------------+-------------------------
  Reporter:  dluke@…        |      Owner:  astricker@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.0
Resolution:                 |   Keywords:
      Port:  p5-perlmagick  |
----------------------------+-------------------------

Comment (by astricker@…):

 Obviously your 10.5 ppc system doesn't support OpenMP. It should be
 deactivated by adding {{{configure.args-append --disable-openmp}}} in
 configure phase. But this should only be applied to ppc architecture.

 I've found the following solution:

 {{{
 --- a/graphics/ImageMagick/Portfile
 +++ b/graphics/ImageMagick/Portfile
 @@ -112,6 +112,10 @@ test.run                    yes
  test.target                 check
  test.env                    DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs

 +platform darwin ppc {
 +    configure.args-append   --disable-openmp
 +}
 +
  variant graphviz description {Support Graphviz} {
      depends_lib-append      path:bin/dot:graphviz
      configure.args-delete   --without-gvc

 }}}

 Can you apply this to your Portfile and check if it works?

-- 
Ticket URL: <https://trac.macports.org/ticket/40692#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list