diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-11-01 11:55:54 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-11-01 11:55:54 +0000 |
commit | 579a44527939b5c893c516064c3551db645e1660 (patch) | |
tree | 9cfff1347dc366b6a2ec20079e2e2ceca362c1b7 /databases/py-MySQLdb-devel/files/patch-ab | |
parent | Make portlint happy, remove a space (diff) |
Update to 0.3.0b2.
Diffstat (limited to '')
-rw-r--r-- | databases/py-MySQLdb-devel/files/patch-ab | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/databases/py-MySQLdb-devel/files/patch-ab b/databases/py-MySQLdb-devel/files/patch-ab index 3892458d0db6..12b44feae719 100644 --- a/databases/py-MySQLdb-devel/files/patch-ab +++ b/databases/py-MySQLdb-devel/files/patch-ab @@ -1,26 +1,13 @@ ---- setup.py.orig Fri Oct 27 04:09:37 2000 -+++ setup.py Mon Oct 30 11:24:59 2000 -@@ -9,10 +9,10 @@ - # You may need to edit this script to point to the location of your - # MySQL installation. It should be sufficient to change the value of - # the MYSQL_DIR variable below. --MYSQL_INCLUDE_DIR = '/usr/include/mysql' --MYSQL_LIB_DIR = '/usr/lib/mysql' --#mysqlclient = "mysqlclient" # maybe not thread-safe --mysqlclient = "mysqlclient_r" # thread-safe -+MYSQL_INCLUDE_DIR = '/usr/local/include/mysql' -+MYSQL_LIB_DIR = '/usr/local/lib/mysql' -+mysqlclient = "mysqlclient" # maybe not thread-safe -+#mysqlclient = "mysqlclient_r" # thread-safe - - - setup (# Distribution meta-data -@@ -32,7 +32,7 @@ - sources=['_mysqlmodule.c'], - include_dirs=[MYSQL_INCLUDE_DIR], - # maybe comment to force dynamic libraries -- #library_dirs=[MYSQL_LIB_DIR], -+ library_dirs=[MYSQL_LIB_DIR], - # uncomment if linking against dynamic libraries - #runtime_library_dirs=[MYSQL_LIB_DIR], - libraries=[ +--- setup.py.orig Tue Oct 31 21:28:16 2000 ++++ setup.py Wed Nov 1 13:51:41 2000 +@@ -32,8 +32,8 @@ + runtime_library_dirs = [] + extra_objects = [r'c:\mysql\lib\opt\mysqlclient.lib'] + elif os.name == "posix": # most Linux/UNIX platforms +- include_dirs = ['/usr/include/mysql'] +- library_dirs = ['/usr/lib/mysql'] ++ include_dirs = ['%%LOCALBASE%%/include/mysql'] ++ library_dirs = ['%%LOCALBASE%%/lib/mysql'] + # MySQL-3.23 seems to need libz + libraries = [mysqlclient, "z"] + # On some platorms, this can be used to find the shared libraries |