FreeBSD rt3 port
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Nov 8 01:38:11 PST 2003
On Sat, Nov 08, 2003 at 10:13:14AM +0100, Angelo Turetta wrote:
> ----- Original Message -----
> From: "Autrijus Tang" <autrijus at autrijus.org>
> Sent: Saturday, November 08, 2003 4:12 AM
>
> >> one of its dependent ports needs was not brought in by 'portupgrade -rRN
> rt3'.
> >> Can this be added as a dependency for rt3?
> >
> > That is indeed so. Dmitry, can you help me to commit the patch below?
>
> ( ..... )
>
> >+BUILD_DEPENDS+=
> ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/databases/mysql40-server \
> >+
> ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
>
> Looking at this dependency list, I remembered asking myself in the past: why
> in the world must this port need mysql-server?
> I think it should be perfectly OK to have the database running on another
> server, and thus this port should better depend on mysql-client instead.
Actually, the p5-DBD-mysql port already depends on mysql-client.
Indeed, it understands three different flavours of mysql-client, which
is a good thing. As far as I can see there's no need for rt3 to
depend on a specific version of mysql, so a dependency like:
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
should be sufficient.
(and the equivalent for people that want to use postgres via p5-DBD-Pg)
As an aside, there are two ports that can provide the DBD::mysql
module: databases/p5-Mysql (Msql-Mysql-modules-1.2219 by Jochen
Wiedmann) and databases/p5-DBD-mysql (DBD-mysql-2.9003 by Rudy Lippan)
-- only the latter seems to be being updated.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031108/3f65f601/attachment.bin
More information about the freebsd-ports
mailing list