Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2004 12:19:05 -0200 (BRST)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75220: Update port: databases/py-MySQLdb update
Message-ID:  <20041218141905.DB25F20A74@corp.grupos.com.br>
Resent-Message-ID: <200412181420.iBIEKP5I044549@freefall.freebsd.org>

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

>Number:         75220
>Category:       ports
>Synopsis:       Update port: databases/py-MySQLdb update
>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:   Sat Dec 18 14:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 4.11-PRERELEASE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-PRERELEASE FreeBSD 4.11-PRERELEASE #33: Wed Dec 15 09:04:46 BRST 2004 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:
Update port: databases/py-MySQLdb

* Change PORTNAME and add PKGNAMEPREFIX (If it need change UPDATING please make)
* Remove OPTIONS and include pre-fetch comment (because this PR/74866)
* Add CONFLICTS
	
>How-To-Repeat:
	
>Fix:

	

--- py-MySQLdb.patch begins here ---
diff -ruN py-MySQLdb.old/Makefile py-MySQLdb/Makefile
--- py-MySQLdb.old/Makefile	Sun Nov 28 19:43:52 2004
+++ py-MySQLdb/Makefile	Sat Dec 18 11:55:21 2004
@@ -5,12 +5,13 @@
 # $FreeBSD: ports/databases/py-MySQLdb/Makefile,v 1.26 2004/11/28 21:43:52 clement Exp $
 #
 
-PORTNAME=	py-MySQLdb
+PORTNAME=	MySQLdb
 PORTVERSION=	1.0.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	mysql-python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	MySQL-python-${PORTVERSION}
 
 MAINTAINER=	marcus@corp.grupos.com.br
@@ -20,13 +21,16 @@
 USE_PYDISTUTILS=	yes
 USE_MYSQL=		yes
 
-OPTIONS=	MYSQLCLIENT_R "Use mysqlclient_r lib" off \
-		MYSQLSSL "Use SSL support" off \
-		MYSQLCRYPTO "Use CRYPTO support" off
+CONFLICTS=	py*-MySQLdb-devel-*
 
-PORTDOCS=		MANIFEST README
-
-.include <bsd.port.pre.mk>
+pre-fetch:
+	@${ECHO} ""
+	@${ECHO} "You may use the following build options:"
+	@${ECHO} ""
+	@${ECHO} "	WITH_MYSQLCLIENT_R=yes	Use mysqlclient_r lib"
+	@${ECHO} "	WITH_MYSQLSSL=yes	Use SSL support"
+	@${ECHO} "	WITH_MYSQLCRYPTO=yes	Use CRYPTO support"
+	@${ECHO} ""
 
 .if defined(WITH_MYSQLCLIENT_R)
 MAKE_ENV+=	mysqlclient="mysqlclient_r"
@@ -48,6 +52,8 @@
 .endif
 .endif
 
+PORTDOCS=		MANIFEST README
+
 .if !defined(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}
@@ -56,4 +62,4 @@
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- 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?20041218141905.DB25F20A74>