From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 30 20:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA1B106568F for ; Fri, 30 Oct 2009 20:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9FF8FC21 for ; Fri, 30 Oct 2009 20:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9UKU2JI062273 for ; Fri, 30 Oct 2009 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9UKU2YZ062272; Fri, 30 Oct 2009 20:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 30 Oct 2009 20:30:02 GMT Resent-Message-Id: <200910302030.n9UKU2YZ062272@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Seaman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEAB4106566B for ; Fri, 30 Oct 2009 20:24:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9668FC14 for ; Fri, 30 Oct 2009 20:24:11 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n9UKO6Rd047923 for ; Fri, 30 Oct 2009 20:24:06 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.14.3/8.14.3/Submit) id n9UKO6Yn047922; Fri, 30 Oct 2009 20:24:06 GMT (envelope-from matthew) Message-Id: <200910302024.n9UKO6Yn047922@happy-idiot-talk.infracaninophile.co.uk> Date: Fri, 30 Oct 2009 20:24:06 GMT From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/140122: [maintainer] Allow mytop to co-exist with p5-DBD-mysqlNN ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 20:30:02 -0000 >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: