Ticket #34231: ImageMagick-Portfile.patch
File ImageMagick-Portfile.patch, 1.6 KB (added by devernay (Frédéric Devernay), 13 years ago) |
---|
-
Portfile
old new 123 123 --without-gvc \ 124 124 --without-rsvg \ 125 125 --without-lqr \ 126 --without-pango \ 126 127 --with-gs-font-dir=${prefix}/share/fonts/urw-fonts 127 128 129 # OpenMP support seems to be broken in XCode 3.2.1/gcc 4.2.1 (OpenMP can only be used in the main thread): 130 # http://lists.apple.com/archives/coreaudio-api/2009/May/msg00035.html 131 # LLVM-gcc has OpenMP support: 132 # http://developer.apple.com/Mac/library/releasenotes/DeveloperTools/RN-llvm-gcc/index.html 133 # maybe later XCode versions solve this (I this at least GCC 4.3 is needed for proper OpenMP support in multi-threaded applications) 134 # -- Frederic.Devernay@inria.fr 135 if {${configure.compiler} == "gcc-4.2" || ${configure.compiler} == "gcc-4.0"} { 136 configure.args-append --disable-openmp 137 } 138 128 139 post-configure { 129 140 reinplace -E {s|-arch [a-z0-9_]+||g} \ 130 141 ${worksrcpath}/magick/Magick-config \ … … 175 186 configure.args-append --with-lqr 176 187 } 177 188 189 variant pango description {Support Pango} { 190 depends_lib-append port:pango 191 archcheck.files-append lib/libpango-1.0.dylib 192 configure.args-delete --without-pango 193 configure.args-append --with-pango 194 } 195 178 196 variant mpeg description {Support MPEG-1 and MPEG-2 video} { 179 197 depends_lib-append port:mpeg2vidcodec 180 198 }