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

nox at macports.org nox at macports.org
Thu Jun 11 09:54:17 PDT 2009


Revision: 52177
          http://trac.macports.org/changeset/52177
Author:   nox at macports.org
Date:     2009-06-11 09:54:16 -0700 (Thu, 11 Jun 2009)
Log Message:
-----------
libgdiplus: Use file exists in the cairo +quartz check
as pkg-config seems to return weird results.

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

Modified: trunk/dports/devel/libgdiplus/Portfile
===================================================================
--- trunk/dports/devel/libgdiplus/Portfile	2009-06-11 16:54:02 UTC (rev 52176)
+++ trunk/dports/devel/libgdiplus/Portfile	2009-06-11 16:54:16 UTC (rev 52177)
@@ -57,7 +57,7 @@
                             --with-pango
 
     pre-configure {
-        if {[catch {pkg-config --exists cairo-quartz}]} {
+        if {[file exists ${prefix}/include/cairo/cairo-quartz.h]} {
             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."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090611/7a01f745/attachment.html>


More information about the macports-changes mailing list