[46609] trunk/dports/graphics/libpixman-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Feb 8 15:21:18 PST 2009
Revision: 46609
http://trac.macports.org/changeset/46609
Author: ryandesign at macports.org
Date: 2009-02-08 15:21:18 -0800 (Sun, 08 Feb 2009)
Log Message:
-----------
libpixman-devel: copy Panther Xcode version check from libpixman
Modified Paths:
--------------
trunk/dports/graphics/libpixman-devel/Portfile
Modified: trunk/dports/graphics/libpixman-devel/Portfile
===================================================================
--- trunk/dports/graphics/libpixman-devel/Portfile 2009-02-08 23:20:35 UTC (rev 46608)
+++ trunk/dports/graphics/libpixman-devel/Portfile 2009-02-08 23:21:18 UTC (rev 46609)
@@ -26,6 +26,16 @@
sha1 395667fec46e8ecea87e1293982707c928d4fe08 \
rmd160 eefeb1cc9958e5868e4560afdbaf312ac3674864
+pre-configure {
+ 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 Xcode ${minimum_xcodeversion}."
+ }
+ }
+}
+
configure.args \
--disable-gtk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090208/c70296f5/attachment.html>
More information about the macports-changes
mailing list