[87762] trunk/dports/python/py27-wxpython/Portfile
Ryan Schmidt
ryandesign at macports.org
Sun Dec 4 18:03:12 PST 2011
On Dec 4, 2011, at 05:12, jwa at macports.org wrote:
> Revision: 87762
> http://trac.macports.org/changeset/87762
> Author: jwa at macports.org
> Date: 2011-12-04 03:12:45 -0800 (Sun, 04 Dec 2011)
> Log Message:
> -----------
> version bump to 2.8.12.1, now it should build on Lion and SL using a patch to use llvm-gcc compiler, produces a lot of warnings due to deprecated calls, closes #32317
>
> Modified Paths:
> --------------
> trunk/dports/python/py27-wxpython/Portfile
>
> Modified: trunk/dports/python/py27-wxpython/Portfile
> ===================================================================
> --- trunk/dports/python/py27-wxpython/Portfile 2011-12-04 10:40:16 UTC (rev 87761)
> +++ trunk/dports/python/py27-wxpython/Portfile 2011-12-04 11:12:45 UTC (rev 87762)
> @@ -4,7 +4,7 @@
> PortGroup python27 1.0
>
> name py27-wxpython
> -version 2.8.12.0
> +version 2.8.12.1
>
> categories python graphics
> platforms darwin
> @@ -23,9 +23,9 @@
> distname wxPython-src-${version}
> use_bzip2 yes
>
> -checksums md5 402e0b81e06f596d849e221a7a76acc6 \
> - sha1 f9ce806dcb5517beb6e3d2ee0ecbf8e569b7f8e4 \
> - rmd160 6420a8e6e59386b344ac058435a4ae6693c2c04b
> +checksums md5 8c06c5941477beee213b4f2fa78be620 \
> + sha1 05688dc03d61631750f5904273122bb40a2115f5 \
> + rmd160 94eae06087bdd930e21bf90cc6672f93a1f5a17a
>
> depends_lib-append port:wxWidgets
>
> @@ -41,6 +41,11 @@
>
> destroot.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
>
> +platform darwin 10 11 {
A platform block can only target a single OS version. See:
https://trac.macports.org/ticket/15712
Until we implement that, you'll need e.g.:
if {${os.platform} == "darwin" && ${os.major} >= 10} {
> + patchfiles patch-config.py.diff
> +# build.env-append CC="llvm-gcc-4.2" CXX="llvm-cpp-4.2" CFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk"
> +}
More information about the macports-dev
mailing list