Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2003 09:37:48 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Angelo Turetta <aturetta@commit.it>
Cc:        Autrijus Tang <autrijus@autrijus.org>
Subject:   Re: FreeBSD rt3 port
Message-ID:  <20031108093748.GB69895@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <002001c3a5d8$8b692a70$5e2aa8c0@lan>
References:  <200311071210.hA7CACtS062161@sleipnir.ncsa.uiuc.edu> <1068261132.1982.14.camel@localhost> <002001c3a5d8$8b692a70$5e2aa8c0@lan>

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

--tjCHc7DPkfUGtrlw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 08, 2003 at 10:13:14AM +0100, Angelo Turetta wrote:
> ----- Original Message -----=20
> From: "Autrijus Tang" <autrijus@autrijus.org>
> Sent: Saturday, November 08, 2003 4:12 AM
>=20
> >> one of its dependent ports needs was not brought in by 'portupgrade -r=
RN
> rt3'.
> >> Can this be added as a dependency for rt3?
> >
> > That is indeed so.  Dmitry, can you help me to commit the patch below?
>=20
> ( ..... )
>=20
> >+BUILD_DEPENDS+=3D
> ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/databases/mysql40-server \
> >+
> ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
>=20
> 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+=3D ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/da=
tabases/p5-DBD-mysql

should be sufficient.

(and the equivalent for people that want to use postgres via p5-DBD-Pg) =20

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

--=20
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

--tjCHc7DPkfUGtrlw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/rLlsdtESqEQa7a0RAu0/AJ9WlsWvCKMr2hg/9t7iXC0fO3ZI8wCfQL2d
9OYT1WODYF3n7IuhH1wImmM=
=bDd8
-----END PGP SIGNATURE-----

--tjCHc7DPkfUGtrlw--



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