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

toby at macports.org toby at macports.org
Tue Jun 23 15:55:29 PDT 2009


Revision: 52830
          http://trac.macports.org/changeset/52830
Author:   toby at macports.org
Date:     2009-06-23 15:55:29 -0700 (Tue, 23 Jun 2009)
Log Message:
-----------
configure.universal_cppflags is an empty string (on trunk anyway), fixes #20017

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

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2009-06-23 22:54:15 UTC (rev 52829)
+++ trunk/dports/graphics/ImageMagick/Portfile	2009-06-23 22:55:29 UTC (rev 52830)
@@ -91,12 +91,14 @@
 
 post-destroot {
     if {[variant_isset universal]} {
-        reinplace "s|${configure.universal_cppflags}||" \
-            ${destroot}${prefix}/bin/Magick++-config \
-            ${destroot}${prefix}/bin/Magick-config \
-            ${destroot}${prefix}/bin/MagickCore-config \
-            ${destroot}${prefix}/bin/MagickWand-config \
-            ${destroot}${prefix}/bin/Wand-config
+        if {${configure.universal_cppflags} != ""} {
+            reinplace "s|${configure.universal_cppflags}||" \
+                ${destroot}${prefix}/bin/Magick++-config \
+                ${destroot}${prefix}/bin/Magick-config \
+                ${destroot}${prefix}/bin/MagickCore-config \
+                ${destroot}${prefix}/bin/MagickWand-config \
+                ${destroot}${prefix}/bin/Wand-config
+        }
         reinplace "s|${configure.universal_ldflags}||" \
             ${destroot}${prefix}/bin/Magick++-config \
             ${destroot}${prefix}/bin/Magick-config \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090623/95a56bb8/attachment.html>


More information about the macports-changes mailing list