Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 03:18:59 +0800 (CST)
From:      Joe Horn <joehorn@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        matthew@FreeBSD.org
Subject:   ports/172667: [PATCH] databases/mytop: Patch for MySQL version detection
Message-ID:  <20121013191859.EA4C64DFC30@Leo.mi.chu.edu.tw>
Resent-Message-ID: <201210131920.q9DJK01R075856@freefall.freebsd.org>

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

>Number:         172667
>Category:       ports
>Synopsis:       [PATCH] databases/mytop: 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:20: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 (matthew@FreeBSD.org) is cc'd.

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

--- mytop-1.6_9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/mytop/Makefile ./Makefile
--- /usr/ports/databases/mytop/Makefile	2012-06-07 19:59:51.000000000 +0800
+++ ./Makefile	2012-10-14 03:14:17.000000000 +0800
@@ -14,13 +14,14 @@
 MAINTAINER=	matthew@FreeBSD.org
 COMMENT=	A top clone for MySQL
 
-RUN_DEPENDS=	p5-DBD-mysql>1.0:${PORTSDIR}/databases/p5-DBD-mysql \
+RUN_DEPENDS=	p5-DBD-mysql${MYSQL_VER}>=0:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER} \
 		p5-DBI>=1.13:${PORTSDIR}/databases/p5-DBI \
 		p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey
 
 CONFLICTS=	mariadb-scripts-[0-9]*
 
 PERL_CONFIGURE=	yes
+USE_MYSQL=	yes
 
 MAN1=		mytop.1
 
--- mytop-1.6_9.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?20121013191859.EA4C64DFC30>