[58387] trunk/dports/x11

ryandesign at macports.org ryandesign at macports.org
Sun Sep 27 21:29:49 PDT 2009


Revision: 58387
          http://trac.macports.org/changeset/58387
Author:   ryandesign at macports.org
Date:     2009-09-27 21:29:49 -0700 (Sun, 27 Sep 2009)
Log Message:
-----------
pango, pango-devel: quartz variant now requires Mac OS X 10.5 and up because it uses Core Text; see #21656

Modified Paths:
--------------
    trunk/dports/x11/pango/Portfile
    trunk/dports/x11/pango-devel/Portfile

Modified: trunk/dports/x11/pango/Portfile
===================================================================
--- trunk/dports/x11/pango/Portfile	2009-09-28 02:53:49 UTC (rev 58386)
+++ trunk/dports/x11/pango/Portfile	2009-09-28 04:29:49 UTC (rev 58387)
@@ -54,6 +54,17 @@
     # itself differently depending on whether or not cairo is installed with
     # the quartz variant. Therefore this variant is necessary to be able to
     # distinguish whether an installed pango has quartz support or not.
+    
+    # pango 1.25.1 and up uses Core Text which is only available on 10.5+.
+    pre-extract {
+        if {${os.major} < 9} {
+            ui_error "${name} ${version} +quartz requires Mac OS X 10.5 or greater."
+            ui_error "Either don't use the +quartz variant or upgrade your Mac OS X."
+            ui_error "Concerns about this should be addressed to the Pango mailing list:"
+            ui_error "http://mail.gnome.org/mailman/listinfo/gtk-i18n-list"
+            return -code error "incompatible Mac OS X version"
+        }
+    }
 }
 
 pre-extract {

Modified: trunk/dports/x11/pango-devel/Portfile
===================================================================
--- trunk/dports/x11/pango-devel/Portfile	2009-09-28 02:53:49 UTC (rev 58386)
+++ trunk/dports/x11/pango-devel/Portfile	2009-09-28 04:29:49 UTC (rev 58387)
@@ -57,6 +57,17 @@
     # itself differently depending on whether or not cairo is installed with
     # the quartz variant. Therefore this variant is necessary to be able to
     # distinguish whether an installed pango has quartz support or not.
+    
+    # pango 1.25.1 and up uses Core Text which is only available on 10.5+.
+    pre-extract {
+        if {${os.major} < 9} {
+            ui_error "${name} ${version} +quartz requires Mac OS X 10.5 or greater."
+            ui_error "Either don't use the +quartz variant or upgrade your Mac OS X."
+            ui_error "Concerns about this should be addressed to the Pango mailing list:"
+            ui_error "http://mail.gnome.org/mailman/listinfo/gtk-i18n-list"
+            return -code error "incompatible Mac OS X version"
+        }
+    }
 }
 
 pre-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090927/50c7b866/attachment-0001.html>


More information about the macports-changes mailing list