On Dec 24, 2012, at 14:14, [email protected] wrote:

> Revision: 100792
>          https://trac.macports.org/changeset/100792
> Author:   [email protected]
> Date:     2012-12-24 12:14:06 -0800 (Mon, 24 Dec 2012)
> Log Message:
> -----------
> python/py-gobject3:
>  add python3 subports
>  add compiler.cpath to python prefix to catch py3cairo.h include file.
> 
> Modified Paths:
> --------------
>    trunk/dports/python/py-gobject3/Portfile
> 
> Modified: trunk/dports/python/py-gobject3/Portfile
> ===================================================================
> --- trunk/dports/python/py-gobject3/Portfile  2012-12-24 18:47:09 UTC (rev 
> 100791)
> +++ trunk/dports/python/py-gobject3/Portfile  2012-12-24 20:14:06 UTC (rev 
> 100792)
> @@ -26,7 +26,7 @@
> checksums           sha256  
> 4653790baaff0176fd814b88cfb5378c45906a120b25d01be2554f423b726eb0 \
>                     rmd160  090fa4941fa30e68882e25856d92230ebdd0cea9
> 
> -python.versions     26 27
> +python.versions     26 27 31 32 33
> 
> if {$subport != $name} {
>     depends_build-append    port:pkgconfig
> @@ -39,6 +39,7 @@
>     configure.env-append    PKG_CONFIG_PATH='${python.prefix}/lib/pkgconfig'
>     configure.pre_args      --prefix='${python.prefix}'
>     configure.args          --disable-glibtest
> +    compiler.cpath          ${python.prefix}/include

Note that the versions of clang in some versions of Xcode do not honor CPATH, 
so if possible, put the right -I argument into CPPFLAGS as well (or instead).

http://lists.macosforge.org/pipermail/macports-dev/2011-August/015543.html


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to