99f7fd175a
Prompted by: many Submitted by: Anders Nordby <anders@fix.no>
15 lines
575 B
Text
15 lines
575 B
Text
--- setup.py.orig Wed Oct 17 05:17:30 2001
|
|
+++ setup.py Tue Jan 22 00:33:59 2002
|
|
@@ -24,9 +24,9 @@
|
|
libraries = [mysqlclient, "z"]
|
|
runtime_library_dirs = []
|
|
extra_objects = []
|
|
-elif sys.platform in ("freebsd4", "openbsd2"):
|
|
- include_dirs = ['/usr/local/include/mysql']
|
|
- library_dirs = ['/usr/local/lib/mysql']
|
|
+elif sys.platform[:7] in ("freebsd", "openbsd"):
|
|
+ include_dirs = ['%%LOCALBASE%%/include/mysql']
|
|
+ library_dirs = ['%%LOCALBASE%%/lib/mysql']
|
|
libraries = [mysqlclient, "z"]
|
|
runtime_library_dirs = []
|
|
extra_objects = []
|