Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 03:27:03 +0800 (CST)
From:      Joe Horn <joehorn@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172669: [PATCH] databases/percona-toolkit: Patch for MySQL version detection
Message-ID:  <20121013192703.2B0D74DFC30@Leo.mi.chu.edu.tw>
Resent-Message-ID: <201210131930.q9DJU1JS076301@freefall.freebsd.org>

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

>Number:         172669
>Category:       ports
>Synopsis:       [PATCH] databases/percona-toolkit: Patch for MySQL version detection
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 13 19:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #4: Mon Jun 25 11:48:59 CST 2012
>Description:
- Patch for MySQL version detection

Port maintainer (flo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- percona-toolkit-2.1.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/percona-toolkit/Makefile ./Makefile
--- /usr/ports/databases/percona-toolkit/Makefile	2012-06-13 22:57:15.000000000 +0800
+++ ./Makefile	2012-10-14 03:23:16.000000000 +0800
@@ -14,11 +14,12 @@
 COMMENT=	Collection of essential command-line utilities for MySQL
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
-		p5-DBD-mysql>=3:${PORTSDIR}/databases/p5-DBD-mysql \
+		p5-DBD-mysql${MYSQL_VER}>=0:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER} \
 		p5-DBI>=1.46:${PORTSDIR}/databases/p5-DBI \
 		p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey
 
 PERL_CONFIGURE=	yes
+USE_MYSQL=	yes
 
 MAN1=	percona-toolkit.1 \
 	pt-align.1 \
--- percona-toolkit-2.1.2.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?20121013192703.2B0D74DFC30>