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

ryandesign at macports.org ryandesign at macports.org
Sat Jan 24 00:07:53 PST 2009


Revision: 45892
          http://trac.macports.org/changeset/45892
Author:   ryandesign at macports.org
Date:     2009-01-24 00:07:51 -0800 (Sat, 24 Jan 2009)
Log Message:
-----------
libpixman: require Xcode 1.5 on Panther; see #18158

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

Modified: trunk/dports/graphics/libpixman/Portfile
===================================================================
--- trunk/dports/graphics/libpixman/Portfile	2009-01-23 23:52:33 UTC (rev 45891)
+++ trunk/dports/graphics/libpixman/Portfile	2009-01-24 08:07:51 UTC (rev 45892)
@@ -27,6 +27,16 @@
     sha1    0c57c6c7e21e2545257068f52517c460e6e51ae4 \
     rmd160  7881189a1de21ec5d2e27936c65369f121dcb15f
 
+platform darwin 7 {
+    pre-fetch {
+        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}."
+        }
+    }
+}
+
 configure.args \
     --disable-gtk
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090124/1c7257e8/attachment-0001.html>


More information about the macports-changes mailing list