Revision
100804
Author
g5pw@macports.org
Date
2012-12-26 06:11:09 -0800 (Wed, 26 Dec 2012)

Log Message

python/py-gobject3:
  fix compilation with older clang versions (the ones that don't honor CPATH)
  don't revbump since it would not have been built anyway.

Modified Paths

Diff

Modified: trunk/dports/python/py-gobject3/Portfile (100803 => 100804)


--- trunk/dports/python/py-gobject3/Portfile	2012-12-26 13:47:52 UTC (rev 100803)
+++ trunk/dports/python/py-gobject3/Portfile	2012-12-26 14:11:09 UTC (rev 100804)
@@ -39,7 +39,8 @@
     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
+    configure.cppflags-append \
+                            -I${python.prefix}/include
 
     build.cmd               [portbuild::build_getmaketype]
     build.target