ports/140122: [maintainer] Allow mytop to co-exist with p5-DBD-mysqlNN ports

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Oct 30 20:30:02 UTC 2009

>Number:         140122
>Category:       ports
>Synopsis:       [maintainer] Allow mytop to co-exist with p5-DBD-mysqlNN ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 30 20:30:02 UTC 2009
>Originator:     Matthew Seaman
>Release:        FreeBSD 7.2-STABLE i386
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.2-STABLE FreeBSD 7.2-STABLE #9: Sat Oct 17 13:34:29 BST 2009 root at happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


Bring the mytop port into line with most other ports that depend on

It's been a long -standing annoyance that the mytop port conflicts
with the mysql version specific DBD modules p5-DBD-mysqlNN, given that
it will work happily with any of them.  This allows mytop to fulfil
its dependency through any port that provides
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm, rather than checking that one
particular port is installed.

As DBD-mysql version 2.x was released in 2002, checking for a version >=1
is pretty redundant nowadays.



--- mytop.diff begins here ---
diff -Nur /usr/ports/databases/mytop/Makefile mytop/Makefile
--- /usr/ports/databases/mytop/Makefile	2009-10-29 10:15:13.000000000 +0000
+++ mytop/Makefile	2009-10-30 20:14:05.000000000 +0000
@@ -14,7 +14,7 @@
 MAINTAINER=	m.seaman at infracaninophile.co.uk
 COMMENT=	A top clone for MySQL
-RUN_DEPENDS=	p5-DBD-mysql>=1.0:${PORTSDIR}/databases/p5-DBD-mysql \
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
 		p5-DBI>=1.13:${PORTSDIR}/databases/p5-DBI \
 		p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor \
--- mytop.diff ends here ---


More information about the freebsd-ports-bugs mailing list