py27_wxpython
Ryan Schmidt
ryandesign at macports.org
Thu Feb 9 05:57:44 PST 2012
On Feb 9, 2012, at 01:51, Andrea D'Amore wrote:
> On Thu, Feb 9, 2012 at 06:48, Ulrich Wienands wrote:
>> 93
>> 94 platform darwin 11 {
>> 95 configure.args-append \
>> 96 --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk \
>> 97 --with-macosx-version-min=10.6
>
> The platform directive is stating a condition upon which the block is executed.
> That line doesn't say that darwin 11 is a requirement, it says that if
> the port is installed on darwin 11 then the following arguments are
> appended to configuration.
Correct.
> Consider that Xcode 4.x doesn't come with 10.5u SDK, so the portfile
> is specifying 10.6 SDK.
Actually, it's that wxWidgets doesn't work with the 10.7 SDK. MacPorts would usually set the SDK to the current OS version, but in the 10.7 SDK, Apple removed QuickDraw methods that wxWidgets uses, so using the 10.7 SDK won't work for this version of wxWidgets. Hopefully a future version of wxWidgets will no longer rely on deprecated drawing methods and will then be compatible with the 10.7 SDK.
More information about the macports-users
mailing list