patch-setup_py 656 B

1234567891011121314151617
  1. $OpenBSD: patch-setup_py,v 1.1.1.1 2009/05/31 21:03:10 benoit Exp $
  2. --- setup.py.orig Wed Jul 17 19:18:50 2002
  3. +++ setup.py Sun May 31 02:28:11 2009
  4. @@ -25,9 +25,9 @@ if sys.platform == "win32":
  5. extra_objects.append(os.path.join(CURL_DIR, "lzo.lib"))
  6. else:
  7. libraries = ["lzo"]
  8. - ##include_dirs.append("/usr/local/include")
  9. - ##library_dirs.append("/usr/local/lib")
  10. - ##runtime_library_dirs.append("/usr/local/lib")
  11. + include_dirs.append("${PREFIX}/include")
  12. + library_dirs.append("${PREFIX}/lib")
  13. + runtime_library_dirs.append("${PREFIX}/lib")
  14. # Add extra compile flag for MacOS X
  15. if sys.platform[:-1] == "darwin":