$OpenBSD: patch-setup_py,v 1.4 2002/09/15 10:54:19 shell Exp $
--- setup.py.orig	Sun Sep 15 18:49:41 2002
+++ setup.py	Sun Sep 15 18:50:42 2002
@@ -20,7 +20,7 @@ thread_safe_library = YES
 name = "MySQL-%s" % os.path.basename(sys.executable)
 version = "0.9.2"
 
-mysqlclient = thread_safe_library and "mysqlclient_r" or "mysqlclient"
+mysqlclient = "mysqlclient"
 
 # include files and library locations should cover most platforms
 include_dirs = [
@@ -52,7 +52,7 @@ if sys.platform == "netbsd1":
     include_dirs = ['/usr/pkg/include/mysql']
     library_dirs = ['/usr/pkg/lib/mysql']
 elif sys.platform in ("freebsd4", "openbsd3"):
-    LOCALBASE = os.environ.get('LOCALBASE', '/usr/local')
+    LOCALBASE = os.environ.get('LOCALBASE', '%%LOCALBASE%%')
     include_dirs = ['%s/include/mysql' % LOCALBASE]
     library_dirs = ['%s/lib/mysql' % LOCALBASE]
 elif sys.platform == "sunos5": # Solaris 2.8 + gcc
