Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 22:35:34 +0600 (NOVT)
From:      Dmitry A Grigorovich <odip@bionet.nsc.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        skv@FreeBSD.org
Subject:   ports/120506: [patch] devel/bugzilla with mysql depends problems
Message-ID:  <20080210163534.12E5A2193A@manticore.bionet.nsc.ru>
Resent-Message-ID: <200802101640.m1AGe2Mi024188@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120506
>Category:       ports
>Synopsis:       [patch] devel/bugzilla with mysql depends problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 16:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry A Grigorovich
>Release:        6.3-RELEASE
>Organization:
ICiG SB RAS, Russia
>Environment:
FreeBSD monk.bionet.nsc.ru 6.3-RELEASE FreeBSD 6.3-RELEASE #0

>Description:

Port devel/bugzilla with mysql depend from p5-DBD-mysql
But when installed databases/mysql50-scripts it depends from p5-DBD-mysql50
Ports p5-DBD-mysql and p5-DBD-mysql50 arr conflicted
and building bugzilla is failed ...

>How-To-Repeat:

cd /usr/ports/databases/mysql50-server
make install
cd /usr/ports/databases/mysql50-scripts
mame install
cd /usr/ports/devel/bugzilla
make config
	Check MYSQL on !
make install

Building failed because can't installing 'p5-DBD-mysql'

>Fix:

Apply following patch:
Install bugzilla


P.S. I found that a few ports have SAME bug and need to be fixed.
Try searching 'p5-DBD-mysql' in file Makefile starting from /usr/ports/


--- patch-Makefile begins here ---
--- Makefile.orig	Fri Feb  8 09:56:06 2008
+++ Makefile	Sun Feb 10 22:14:16 2008
@@ -63,7 +63,7 @@
 .include <bsd.port.pre.mk>
 
 .ifdef WITH_MYSQL
-RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
 USE_MYSQL=	yes
 IGNORE_WITH_MYSQL=	323
 .endif
--- patch-Makefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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