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

g5pw at macports.org g5pw at macports.org
Sun Dec 9 23:31:36 PST 2012


Revision: 100374
          https://trac.macports.org/changeset/100374
Author:   g5pw at macports.org
Date:     2012-12-09 23:31:35 -0800 (Sun, 09 Dec 2012)
Log Message:
-----------
python/py-pygtk:
  add configure.python, cflags and ldflags
  should fix #37257

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

Modified: trunk/dports/python/py-pygtk/Portfile
===================================================================
--- trunk/dports/python/py-pygtk/Portfile	2012-12-10 07:18:33 UTC (rev 100373)
+++ trunk/dports/python/py-pygtk/Portfile	2012-12-10 07:31:35 UTC (rev 100374)
@@ -50,9 +50,12 @@
                     port:py${python.version}-numpy
 
     use_configure   yes
-    configure.pre_args-delete  --prefix=${prefix}
-    configure.pre_args-append  --prefix=${python.prefix}
-    configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+    configure.python ${python.bin}
+    configure.pre_args-delete   --prefix=${prefix}
+    configure.pre_args-append   --prefix=${python.prefix}
+    configure.cflags-append     -I${python.prefix}/include
+    configure.ldflags-append	-L${python.prefix}/lib
+    configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
                 
     platform darwin 9 {
         post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121209/f9b048bb/attachment.html>


More information about the macports-changes mailing list