mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
almost any database from Windows, Linux, OS/X, and more. It implements the Python Database API Specification v2.0, but additional features have been added to simplify database programming even more. WWW: http://code.google.com/p/pyodbc/ PR: ports/133757 Submitted by: Robet Kruus <rob.kruus@gmail.com>
12 lines
596 B
Text
12 lines
596 B
Text
--- setup.py.orig 2008-12-06 10:34:24.000000000 -0600
|
|
+++ setup.py 2009-01-15 14:56:00.648997526 -0600
|
|
@@ -40,7 +40,8 @@
|
|
# Other posix-like: Linux, Solaris, etc.
|
|
|
|
# Python functions take a lot of 'char *' that really should be const. gcc complains about this *a lot*
|
|
- extra_compile_args = ['-Wno-write-strings']
|
|
+ extra_compile_args = ['-Wno-write-strings', '-I/usr/local/include', '-L/usr/local/lib']
|
|
+ extra_link_args = ['-L/usr/local/lib']
|
|
|
|
# What is the proper way to detect iODBC, MyODBC, unixODBC, etc.?
|
|
libraries.append('odbc')
|