diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-09-10 07:52:20 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-09-10 07:52:20 +0000 |
commit | 26d7b8c9f482b1fde6f131d4f223baff4d3ded7f (patch) | |
tree | a54a50e550aba07573a379b7901826d2e723d861 /databases/py-MySQLdb-devel | |
parent | Automagically mark kde2 ports as bork bork borked. If it really only needs (diff) |
Update to 0.9.2.
Notes
Notes:
svn path=/head/; revision=66017
Diffstat (limited to 'databases/py-MySQLdb-devel')
-rw-r--r-- | databases/py-MySQLdb-devel/Makefile | 5 | ||||
-rw-r--r-- | databases/py-MySQLdb-devel/distinfo | 2 | ||||
-rw-r--r-- | databases/py-MySQLdb-devel/files/patch-ab | 38 |
3 files changed, 25 insertions, 20 deletions
diff --git a/databases/py-MySQLdb-devel/Makefile b/databases/py-MySQLdb-devel/Makefile index 1fc5cd04a464..50a1c052e34a 100644 --- a/databases/py-MySQLdb-devel/Makefile +++ b/databases/py-MySQLdb-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= py-MySQLdb -PORTVERSION= 0.9.1 +PORTVERSION= 0.9.2 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mysql-python @@ -21,9 +21,6 @@ USE_PYDISTUTILS= yes DOCS= MANIFEST README doc/*.html -do-configure: - @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py - .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} diff --git a/databases/py-MySQLdb-devel/distinfo b/databases/py-MySQLdb-devel/distinfo index 21818138a9d4..8728dca4b0c5 100644 --- a/databases/py-MySQLdb-devel/distinfo +++ b/databases/py-MySQLdb-devel/distinfo @@ -1 +1 @@ -MD5 (MySQL-python-0.9.1.tar.gz) = 802e271d46e3d845045ce0378f82fd85 +MD5 (MySQL-python-0.9.2.tar.gz) = afef758f56289f98408dd9f379d8fc8d diff --git a/databases/py-MySQLdb-devel/files/patch-ab b/databases/py-MySQLdb-devel/files/patch-ab index f468651029cd..43239f23b4a2 100644 --- a/databases/py-MySQLdb-devel/files/patch-ab +++ b/databases/py-MySQLdb-devel/files/patch-ab @@ -1,15 +1,23 @@ ---- 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 = [] + +$FreeBSD$ + +--- setup.py.orig Thu Jul 18 22:55:36 2002 ++++ setup.py Tue Sep 10 10:51:52 2002 +@@ -11,7 +11,7 @@ + NO = 0 + + # set this to YES if you have the thread-safe mysqlclient library +-thread_safe_library = YES ++thread_safe_library = NO + + # You probably don't have to do anything past this point. If you + # do, please mail me the configuration for your platform. Don't +@@ -51,7 +51,7 @@ + if sys.platform == "netbsd1": + include_dirs = ['/usr/pkg/include/mysql'] + library_dirs = ['/usr/pkg/lib/mysql'] +-elif sys.platform in ("freebsd4", "openbsd3"): ++elif sys.platform[:7] in ("freebsd", "openbsd"): + LOCALBASE = os.environ.get('LOCALBASE', '/usr/local') + include_dirs = ['%s/include/mysql' % LOCALBASE] + library_dirs = ['%s/lib/mysql' % LOCALBASE] |