[47717] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Wed Mar 4 05:35:01 PST 2009


Revision: 47717
          http://trac.macports.org/changeset/47717
Author:   ryandesign at macports.org
Date:     2009-03-04 05:35:01 -0800 (Wed, 04 Mar 2009)
Log Message:
-----------
cairo, cairo-devel: wait until pre-extract phase to output warning for quartz variant

Modified Paths:
--------------
    trunk/dports/graphics/cairo/Portfile
    trunk/dports/graphics/cairo-devel/Portfile

Modified: trunk/dports/graphics/cairo/Portfile
===================================================================
--- trunk/dports/graphics/cairo/Portfile	2009-03-04 13:25:16 UTC (rev 47716)
+++ trunk/dports/graphics/cairo/Portfile	2009-03-04 13:35:01 UTC (rev 47717)
@@ -109,9 +109,11 @@
 
 platform macosx {}
 variant quartz requires macosx description {Add Quartz graphics interface} {
-    if {${os.major} < 8} {
-        ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
-        return -code error "incompatible Mac OS X version"
+    pre-extract {
+        if {${os.major} < 8} {
+            ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
+            return -code error "incompatible Mac OS X version"
+        }
     }
     configure.args-delete \
         --disable-quartz \

Modified: trunk/dports/graphics/cairo-devel/Portfile
===================================================================
--- trunk/dports/graphics/cairo-devel/Portfile	2009-03-04 13:25:16 UTC (rev 47716)
+++ trunk/dports/graphics/cairo-devel/Portfile	2009-03-04 13:35:01 UTC (rev 47717)
@@ -109,9 +109,11 @@
 
 platform macosx {}
 variant quartz requires macosx description {Add Quartz graphics interface} {
-    if {${os.major} < 8} {
-        ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
-        return -code error "incompatible Mac OS X version"
+    pre-extract {
+        if {${os.major} < 8} {
+            ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
+            return -code error "incompatible Mac OS X version"
+        }
     }
     configure.args-delete \
         --disable-quartz \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090304/9ff0adab/attachment.html>


More information about the macports-changes mailing list