aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-MySQLdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-MySQLdb/Makefile')
-rw-r--r--databases/py-MySQLdb/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index 0016689b0bb1..fd1430fff038 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= MySQLdb
PORTVERSION= 1.2.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
@@ -27,12 +27,13 @@ pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
- @${ECHO} " WITH_MYSQLCLIENT_R=yes Use mysqlclient_r lib"
+ @${ECHO} " WITHOUT_MYSQLCLIENT_R=yes Don't use mysqlclient_r lib"
+ @${ECHO} " but is not guarantee thread-safe."
+ @${ECHO} ""
+ @${ECHO} " Default use mysqlclient_r"
@${ECHO} ""
-.if defined(WITH_MYSQLCLIENT_R)
-MAKE_ENV+= mysqlclient="mysqlclient_r"
-.else
+.if defined(WITHOUT_MYSQLCLIENT_R)
MAKE_ENV+= mysqlclient="mysqlclient"
.endif