Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 11:29:46 -0400
From:      Tim Kellers <timothyk@wallnet.com>
To:        ports@freebsd.org
Cc:        Tim Kellers <kellers@njit.edu>
Subject:   portupgrade bugzilla fails with mysql > 4 installed
Message-ID:  <4C9A20EA.10701@wallnet.com>

next in thread | raw e-mail | index | archive | help
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C9A20EA.10701>