Date: Fri, 30 Oct 2009 20:24:06 GMT From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/140122: [maintainer] Allow mytop to co-exist with p5-DBD-mysqlNN ports Message-ID: <200910302024.n9UKO6Yn047922@happy-idiot-talk.infracaninophile.co.uk> Resent-Message-ID: <200910302030.n9UKU2YZ062272@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Oct 30 20:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 7.2-STABLE i386 >Organization: Infracaninophile >Environment: 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@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Bring the mytop port into line with most other ports that depend on DBD::mysql. 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. >How-To-Repeat: >Fix: --- 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@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 \ p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey --- mytop.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910302024.n9UKO6Yn047922>