aboutsummaryrefslogtreecommitdiff
path: root/databases/py-MySQLdb
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-01 11:55:54 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-01 11:55:54 +0000
commit579a44527939b5c893c516064c3551db645e1660 (patch)
tree9cfff1347dc366b6a2ec20079e2e2ceca362c1b7 /databases/py-MySQLdb
parent11e55c6ac3fa858be812c1bbdfe8b266747c3fde (diff)
downloadports-579a44527939b5c893c516064c3551db645e1660.tar.gz
ports-579a44527939b5c893c516064c3551db645e1660.zip
Notes
Diffstat (limited to 'databases/py-MySQLdb')
-rw-r--r--databases/py-MySQLdb/Makefile4
-rw-r--r--databases/py-MySQLdb/distinfo2
-rw-r--r--databases/py-MySQLdb/files/patch-ab39
3 files changed, 16 insertions, 29 deletions
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index c3af7b1588eb..3a47c650a2fe 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= py-MySQLdb
-PORTVERSION= 0.3.0b1
+PORTVERSION= 0.3.0b2
CATEGORIES= databases python
MASTER_SITES= http://dustman.net/andy/python/MySQLdb/0.3.0/
-DISTNAME= MySQL-${PORTVERSION}
+DISTNAME= MySQLdb-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
diff --git a/databases/py-MySQLdb/distinfo b/databases/py-MySQLdb/distinfo
index 2046eeb34218..b5870381710a 100644
--- a/databases/py-MySQLdb/distinfo
+++ b/databases/py-MySQLdb/distinfo
@@ -1 +1 @@
-MD5 (MySQL-0.3.0b1.tar.gz) = 5e6180772cff2a90d2e6a701f2f4d8ab
+MD5 (MySQLdb-0.3.0b2.tar.gz) = 21adb1a9c3aeed1de14918d239e1ed0b
diff --git a/databases/py-MySQLdb/files/patch-ab b/databases/py-MySQLdb/files/patch-ab
index 3892458d0db6..12b44feae719 100644
--- a/databases/py-MySQLdb/files/patch-ab
+++ b/databases/py-MySQLdb/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