Ticket #36156: port-wxwidgets-10.7-patch.sdk

File port-wxwidgets-10.7-patch.sdk, 564 bytes (added by anddam (Andrea D'Amore), 12 years ago)
Line 
1Index: Portfile
2===================================================================
3--- Portfile    (revision 97779)
4+++ Portfile    (working copy)
5@@ -93,6 +93,12 @@
6 configure.cppflags-append    -arch ${configure.build_arch}
7 
8 platform darwin 11 {
9+    pre-fetch {
10+        if {[vercmp $xcodeversion 4.4] >= 0} {
11+            return -code return "${name} cannot build on 10.7 with Xcode >= 4.4, please use port ${name}-devel instead"
12+        }
13+    }
14+
15     configure.args-append \
16         --with-macosx-version-min=10.6
17     if {[vercmp $xcodeversion 4.3] >= 0} {