[106435] trunk/dports/python/py-pyaudio
larryv at macports.org
larryv at macports.org
Sun May 26 09:20:49 PDT 2013
Revision: 106435
https://trac.macports.org/changeset/106435
Author: larryv at macports.org
Date: 2013-05-26 09:20:49 -0700 (Sun, 26 May 2013)
Log Message:
-----------
py*-pyaudio: Fix build for older Clang that don't recognize CPATH (#39195).
Modified Paths:
--------------
trunk/dports/python/py-pyaudio/Portfile
Added Paths:
-----------
trunk/dports/python/py-pyaudio/files/
trunk/dports/python/py-pyaudio/files/patch-setup.py.diff
Modified: trunk/dports/python/py-pyaudio/Portfile
===================================================================
--- trunk/dports/python/py-pyaudio/Portfile 2013-05-26 15:59:40 UTC (rev 106434)
+++ trunk/dports/python/py-pyaudio/Portfile 2013-05-26 16:20:49 UTC (rev 106435)
@@ -32,8 +32,9 @@
if {${name} != ${subport}} {
depends_lib-append port:portaudio
+ patchfiles patch-setup.py.diff
post-patch {
- reinplace "s|portaudio-v19|${prefix}|g" ${worksrcpath}/setup.py
+ reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
}
python.link_binaries no
Added: trunk/dports/python/py-pyaudio/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-pyaudio/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py-pyaudio/files/patch-setup.py.diff 2013-05-26 16:20:49 UTC (rev 106435)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2012-10-20 23:08:06.000000000 -0400
++++ setup.py 2013-05-24 19:11:44.000000000 -0400
+@@ -57,7 +57,7 @@
+
+ pyaudio_module_sources = ['src/_portaudiomodule.c']
+
+-include_dirs = []
++include_dirs = ['__PREFIX__/include']
+ external_libraries = []
+ extra_compile_args = ['-fno-strict-aliasing']
+ extra_link_args = []
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130526/ae1cefe6/attachment.html>
More information about the macports-changes
mailing list