[46607] trunk/dports/graphics/libpixman/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Feb 8 15:18:32 PST 2009


Revision: 46607
          http://trac.macports.org/changeset/46607
Author:   ryandesign at macports.org
Date:     2009-02-08 15:18:32 -0800 (Sun, 08 Feb 2009)
Log Message:
-----------
libpixman: rework Panther Xcode version warning to not use a platform variant, and remove "at least" from warning text; it's unlikely there will ever be another version of Xcode for Panther.

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

Modified: trunk/dports/graphics/libpixman/Portfile
===================================================================
--- trunk/dports/graphics/libpixman/Portfile	2009-02-08 23:15:26 UTC (rev 46606)
+++ trunk/dports/graphics/libpixman/Portfile	2009-02-08 23:18:32 UTC (rev 46607)
@@ -27,12 +27,12 @@
     sha1    495e9de7b113365d0b7fe902f846734dfe2e1546 \
     rmd160  b3a8124ffd04096a87ae8e4e044de68a3a0aad36
 
-platform darwin 7 {
-    pre-fetch {
+pre-fetch {
+    if {"darwin" == ${os.platform} && 7 == ${os.major}} {
         set minimum_xcodeversion 1.5
         set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
         if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
-            return -code error "You have Xcode ${current_xcodeversion}. Please update to at least Xcode ${minimum_xcodeversion}."
+            return -code error "You have Xcode ${current_xcodeversion}. Please update to Xcode ${minimum_xcodeversion}."
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090208/530a6b16/attachment.html>


More information about the macports-changes mailing list