Changeset 97532 for trunk/dports


Ignore:
Timestamp:
Sep 8, 2012, 5:51:48 AM (7 years ago)
Author:
ryandesign@…
Message:

ImageMagick: use conflicts_build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/ImageMagick/Portfile

    r97436 r97532  
    44PortSystem                  1.0
    55PortGroup                   archcheck 1.0
     6PortGroup                   conflicts_build 1.0
    67
    78# Keep relevant lines in sync between ImageMagick and p5-perlmagick.
    89
    910name                        ImageMagick
    10 conflicts                   cryptlib
    1111version                     6.7.9-0
    1212revision                    2
     
    8484                            lib/libxml2.dylib
    8585
    86 pre-configure {
    87     foreach {badport badfile} "cryptlib ${prefix}/lib/libcl.dylib" {
    88         if {[file exists ${badfile}]} {
    89             ui_error "${name} cannot be built while ${badport} is active."
    90             ui_error "Please deactivate ${badport} and try again."
    91             ui_error "You can reactivate ${badport} again later."
    92             return -code error "${badport} is installed"
    93         }
    94     }
     86# On case-insensitive filesystems, ImageMagick finds cryptlib's libcl and
     87# tries to use it as if it were Apple's OpenCL, which fails; see #23354.
     88if {[file exists ${prefix}/lib/libCL.dylib]} {
     89    conflicts_build         cryptlib
    9590}
    9691
Note: See TracChangeset for help on using the changeset viewer.