ports/77284: Update port: databases/py-MySQLdb new default options
Marcus Grando
marcus at corp.grupos.com.br
Tue Feb 8 23:20:20 UTC 2005
>Number: 77284
>Category: ports
>Synopsis: Update port: databases/py-MySQLdb new default options
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 08 23:20:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #40: Fri Jan 28 13:42:33 BRST 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
Update port: databases/py-MySQLdb change options
- Change default mysql lib to libmysqlclient_r. WITHOUT_MYSQLCLIENT_R=yes
use libmysqlclient.
>How-To-Repeat:
>Fix:
--- py-MySQLdb.patch begins here ---
diff -ruN py-MySQLdb.old/Makefile py-MySQLdb/Makefile
--- py-MySQLdb.old/Makefile Tue Feb 8 21:07:44 2005
+++ py-MySQLdb/Makefile Tue Feb 8 21:11:46 2005
@@ -27,12 +27,13 @@
@${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
--- py-MySQLdb.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list