[52175] trunk/dports/devel/libgdiplus/Portfile

nox at macports.org nox at macports.org
Thu Jun 11 09:48:37 PDT 2009


Revision: 52175
          http://trac.macports.org/changeset/52175
Author:   nox at macports.org
Date:     2009-06-11 09:48:36 -0700 (Thu, 11 Jun 2009)
Log Message:
-----------
libgdiplus: Add a check to prevent building when +pango is selected
and pango and cairo are installed with their +quartz variant.

Modified Paths:
--------------
    trunk/dports/devel/libgdiplus/Portfile

Modified: trunk/dports/devel/libgdiplus/Portfile
===================================================================
--- trunk/dports/devel/libgdiplus/Portfile	2009-06-11 16:35:23 UTC (rev 52174)
+++ trunk/dports/devel/libgdiplus/Portfile	2009-06-11 16:48:36 UTC (rev 52175)
@@ -55,6 +55,14 @@
 
     configure.args-append   --with-cairo=system \
                             --with-pango
+
+    pre-configure {
+        if {[catch {pkg-config --exists cairo-quartz}]} {
+            ui_error "cairo and pango must be installed without their +quartz variant"
+            ui_error "to enable mono +pango variant."
+            error "Please reinstall cairo and pango without +quartz."
+        }
+    }
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090611/c1bf7f64/attachment.html>


More information about the macports-changes mailing list