patch-setup_py 867 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-setup_py,v 1.1.1.1 2011/05/31 09:19:45 dcoppa Exp $
  2. Fix linking with vorbis libraries
  3. --- setup.py.orig Tue Jun 1 17:58:01 2010
  4. +++ setup.py Tue Jun 1 17:58:39 2010
  5. @@ -43,7 +43,6 @@ data = get_setup()
  6. vorbis_include_dir = data['vorbis_include_dir']
  7. vorbis_lib_dir = data['vorbis_lib_dir']
  8. -vorbis_libs = string.split(data['vorbis_libs'])
  9. ogg_include_dir = data['ogg_include_dir']
  10. ogg_lib_dir = data['ogg_lib_dir']
  11. @@ -61,7 +60,7 @@ vorbismodule = Extension(name='vorbis',
  12. ogg_include_dir],
  13. library_dirs=[vorbis_lib_dir,
  14. ogg_lib_dir],
  15. - libraries=vorbis_libs)
  16. + libraries=['vorbis', 'vorbisfile', 'vorbisenc', 'ogg'])
  17. setup ( name = "pyvorbis",
  18. version = pyvorbis_version,