1 | Index: 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} { |
---|