diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2010-01-25 19:15:18 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-01-25 19:15:18 +0000 |
| commit | 14ac881764759575af0262836b114bc66a99657e (patch) | |
| tree | a7e7d123112721b2a5babd136cee15a4432f25e5 /audio/py-openal/files | |
| parent | Remove unneeded '\' in COMMENT. (diff) | |
- Introduce USE_OPENAL variable for OpenAL consumers
- Switch to openal-soft as a default OpenAL implementation
PR: ports/142123
Submitted by: mva
Tested by: pointyhat exp-run
Approved by: portmgr (hat)
Diffstat (limited to 'audio/py-openal/files')
| -rw-r--r-- | audio/py-openal/files/patch-setup.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/audio/py-openal/files/patch-setup.py b/audio/py-openal/files/patch-setup.py index 4c19744e6b7e..676207cddf3c 100644 --- a/audio/py-openal/files/patch-setup.py +++ b/audio/py-openal/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py Sun Apr 30 10:23:44 2006 -+++ setup.py Mon Aug 21 00:25:58 2006 -@@ -1,14 +1,14 @@ +--- setup.py.orig 2006-04-30 17:23:44.000000000 +0200 ++++ setup.py 2009-12-26 17:50:57.000000000 +0100 +@@ -1,17 +1,17 @@ import os from distutils.core import setup, Extension @@ -9,7 +9,8 @@ LIBS = ["openal", "alut"] try: - openal_version = os.popen("openal-config --version").read() +- openal_version = os.popen("openal-config --version").read() ++ openal_version = os.popen("pkg-config --modversion openal").read() if openal_version[0] == "0": - LIBDIRS = ["/usr/lib", "/usr/local/lib"] - LIBS = ["openal"] @@ -17,7 +18,11 @@ + LIBS = ["openal","alut"] except: - print "Warning: error while running 'openal-config --version', using default values..." +- print "Warning: error while running 'openal-config --version', using default values..." ++ print "Warning: error while running 'pkg-config --modversion', using default values..." + + + setup( @@ -38,7 +38,7 @@ ext_modules = [Extension("_openal", |
