[100764] trunk/dports/python/py-pygtk/Portfile

g5pw at macports.org g5pw at macports.org
Sun Dec 23 05:20:51 PST 2012


Revision: 100764
          https://trac.macports.org/changeset/100764
Author:   g5pw at macports.org
Date:     2012-12-23 05:20:51 -0800 (Sun, 23 Dec 2012)
Log Message:
-----------
python/py-pygtk:
  py25-cairo installs pycairo.h in prefix/include/pycairo (fixes #37324)

Modified Paths:
--------------
    trunk/dports/python/py-pygtk/Portfile

Modified: trunk/dports/python/py-pygtk/Portfile
===================================================================
--- trunk/dports/python/py-pygtk/Portfile	2012-12-23 10:28:02 UTC (rev 100763)
+++ trunk/dports/python/py-pygtk/Portfile	2012-12-23 13:20:51 UTC (rev 100764)
@@ -58,6 +58,10 @@
     configure.cflags-append     -I${python.prefix}/include
     configure.ldflags-append    -L${python.prefix}/lib
     configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
+
+    if { ${python.version} == 25 } {
+        configure.cflags-append	-I${prefix}/include/pycairo
+    }
                 
     platform darwin 9 {
         post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121223/4e1f78b3/attachment.html>


More information about the macports-changes mailing list