Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2004 12:22:23 -0200 (BRST)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75221: Update port: databases/py-MySQLdb-devel changes
Message-ID:  <20041218142223.6A04020A74@corp.grupos.com.br>
Resent-Message-ID: <200412181430.iBIEUQBm044800@freefall.freebsd.org>

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

>Number:         75221
>Category:       ports
>Synopsis:       Update port: databases/py-MySQLdb-devel changes
>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:30: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-devel

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

	

--- py-MySQLdb-devel.patch begins here ---
diff -ruN py-MySQLdb-devel.old/Makefile py-MySQLdb-devel/Makefile
--- py-MySQLdb-devel.old/Makefile	Sun Nov 28 19:55:24 2004
+++ py-MySQLdb-devel/Makefile	Sat Dec 18 11:58:13 2004
@@ -1,16 +1,17 @@
-# New ports collection makefile for:	py-MySQLdb
-# Date created:				04 April 2000
-# Whom:                 		Maxim Sobolev <sobomax@FreeBSD.org>
+# New ports collection makefile for:	MySQLdb-devel
+# Date created:				29 Nov 2004
+# Whom:                 		Marcus Grando <marcus@corp.grupos.com.br>
 #
 # $FreeBSD: ports/databases/py-MySQLdb-devel/Makefile,v 1.26 2004/11/28 21:55:24 clement Exp $
 #
 
-PORTNAME=	py-MySQLdb
+PORTNAME=	MySQLdb-devel
 PORTVERSION=	1.1.7
-PORTREVISION=	0
+PORTREVISION=	1
 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
 
-CONFLICTS=	py-MySQLdb-0.* py-MySQLdb-1.[0,2-9].*
+CONFLICTS=	py*-MySQLdb-*
 
-OPTIONS=	MYSQLCLIENT_R "Use mysqlclient_r lib" off \
-		MYSQLSSL "Use SSL support" off \
-		MYSQLCRYPTO "Use CRYPTO support" off
-
-.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"
@@ -58,4 +62,4 @@
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- py-MySQLdb-devel.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?20041218142223.6A04020A74>