[62884] trunk/dports/graphics/ImageMagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 20 19:36:24 PST 2010


Revision: 62884
          http://trac.macports.org/changeset/62884
Author:   ryandesign at macports.org
Date:     2010-01-20 19:36:21 -0800 (Wed, 20 Jan 2010)
Log Message:
-----------
ImageMagick: prevent conflict with cryptlib; see #23354

Modified Paths:
--------------
    trunk/dports/graphics/ImageMagick/Portfile

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2010-01-21 01:54:40 UTC (rev 62883)
+++ trunk/dports/graphics/ImageMagick/Portfile	2010-01-21 03:36:21 UTC (rev 62884)
@@ -3,6 +3,7 @@
 PortSystem              1.0
 
 name                    ImageMagick
+conflicts               cryptlib
 version                 6.5.9-0
 set reasonable_version  [lindex [split ${version} -] 0]
 homepage                http://www.imagemagick.org/
@@ -59,6 +60,14 @@
 depends_build \
     port:pkgconfig
 
+pre-configure {
+    if {[file exists ${prefix}/lib/libcl.dylib]} {
+        ui_error "ImageMagick cannot be built while cryptlib is active. Pleease deactivate"
+        ui_error "cryptlib and try again. You can reactivate cryptlib again later."
+        return -code error "cryptlib is installed"
+    }
+}
+
 configure.args \
     --enable-shared \
     --enable-static \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100120/a6efc756/attachment.html>


More information about the macports-changes mailing list