Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Feb 2005 21:18:41 -0200 (BRST)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77284: Update port: databases/py-MySQLdb new default options
Message-ID:  <20050208231841.8943B20A57@corp.grupos.com.br>
Resent-Message-ID: <200502082320.j18NKJvU053760@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208231841.8943B20A57>