ports/172667: [PATCH] databases/mytop: Patch for MySQL version detection

Joe Horn joehorn at gmail.com
Sat Oct 13 19:20:00 UTC 2012


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


More information about the freebsd-ports-bugs mailing list