openbsd-ports/databases/py-odbc/patches/patch-setup_py
sthen 8bde18c04d import databases/py-odbc:
pyodbc is a MIT-licensed Python module that allows you to use ODBC
to connect to almost any database from Windows, Linux, OS/X, and
more. It implements the Python Database API Specification v2.0 and
additional features to simplify database programming.
2009-07-31 10:21:04 +00:00

13 lines
494 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2009/07/31 10:21:04 sthen Exp $
--- setup.py.orig Fri Jul 17 23:37:31 2009
+++ setup.py Fri Jul 17 23:37:40 2009
@@ -58,7 +58,7 @@ def main():
extra_compile_args = ['-Wno-write-strings']
# What is the proper way to detect iODBC, MyODBC, unixODBC, etc.?
- libraries.append('odbc')
+ libraries.append('iodbc')
macros = [('PYODBC_%s' % name, value) for name,value in zip(['MAJOR', 'MINOR', 'MICRO', 'BUILD'], version)]