1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/audio/py-pyaudio/files/patch-setup.py
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

16 lines
440 B
Python

--- setup.py.orig 2015-10-19 05:48:12 UTC
+++ setup.py
@@ -63,6 +63,12 @@ extra_link_args = []
scripts = []
defines = []
+if sys.platform.startswith('dragonfly') or \
+ sys.platform.startswith('freebsd'):
+ include_dirs = ['%%LOCALBASE%%/include/']
+ external_libraries = []
+ extra_link_args = ['%%LOCALBASE%%/lib/libportaudio.so']
+
if sys.platform == 'darwin':
defines += [('MACOSX', '1')]
if mac_sysroot_path: