openbsd-ports/databases/py-mysql/patches/patch-setup_py
shell 9aa8a51184 Import py-mysql-0.3.5
Python interface to MySQL-3.22 and 3.23

MySQLdb is an interface to the popular MySQL database server for
Python.  The design goals are:

-     Compliance with Python database API version 2.0
-     Thread-safety
-     Thread-friendliness (threads will not block each other)
-     Compatibility with MySQL 3.22 and 3.23
2001-04-18 17:47:05 +00:00

12 lines
404 B
Plaintext

--- setup.py.orig Fri Apr 6 00:05:43 2001
+++ setup.py Fri Apr 6 00:06:01 2001
@@ -24,7 +24,7 @@
libraries = [mysqlclient, "z"]
runtime_library_dirs = []
extra_objects = []
-elif sys.platform == "freebsd4":
+elif sys.platform in ("freebsd4", "openbsd2"):
include_dirs = ['/usr/local/include/mysql']
library_dirs = ['/usr/local/lib/mysql']
libraries = [mysqlclient, "z"]