From owner-freebsd-ports@FreeBSD.ORG Wed Sep 22 16:14:38 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE50210656A7 for ; Wed, 22 Sep 2010 16:14:38 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw6.njit.edu (mail-gw6.njit.edu [128.235.251.157]) by mx1.freebsd.org (Postfix) with ESMTP id A2EE58FC16 for ; Wed, 22 Sep 2010 16:14:38 +0000 (UTC) Received: from beta.maestro (dhcp114-27.njit.edu [128.235.114.27]) by mail-gw6.njit.edu (8.14.3/8.14.3) with ESMTP id o8MFUWQu025144; Wed, 22 Sep 2010 11:30:32 -0400 (EDT) Message-ID: <4C9A20EA.10701@wallnet.com> Date: Wed, 22 Sep 2010 11:29:46 -0400 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100917 Thunderbird/3.1.4 MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Kellers Subject: portupgrade bugzilla fails with mysql > 4 installed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 16:14:38 -0000 The message while portupgrading bugzilla: "bugzilla-3.6.2_1 depends on package: p5-DBD-mysql>=2.9003 - not found Verifying reinstall for p5-DBD-mysql>=2.9003 in /usr/ports/databases/p5-DBD-mysql p5-DBD-mysql-4.017 conflicts with installed package(s): p5-DBD-mysql50-4.017 They install files into the same place. Please remove them first with pkg_delete(1)" The problem in Makefile: ".ifdef WITH_MYSQL RUN_DEPENDS+= p5-DBD-mysql>=2.9003:${PORTSDIR}/databases/p5-DBD-mysql USE_MYSQL= yes IGNORE_WITH_MYSQL= 323 .endif" For MySQL 5.0, I simply changed the references to p5-DBD-mysql to p5-DBD-mysql50 and the conflict was removed and portupgrade succeeded, but there must be a more thorough and elegant way. Tim Kellers