From owner-freebsd-ports@FreeBSD.ORG Sat Nov 8 01:38:11 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CD7116A4CE; Sat, 8 Nov 2003 01:38:11 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1BC743FD7; Sat, 8 Nov 2003 01:38:07 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hA89bmwk062682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Nov 2003 09:37:49 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hA89bmDp062681; Sat, 8 Nov 2003 09:37:48 GMT (envelope-from matthew) Date: Sat, 8 Nov 2003 09:37:48 +0000 From: Matthew Seaman To: Angelo Turetta Message-ID: <20031108093748.GB69895@happy-idiot-talk.infracaninophile.co.uk> References: <200311071210.hA7CACtS062161@sleipnir.ncsa.uiuc.edu> <1068261132.1982.14.camel@localhost> <002001c3a5d8$8b692a70$5e2aa8c0@lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <002001c3a5d8$8b692a70$5e2aa8c0@lan> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: ports@freebsd.org cc: demon@freebsd.org cc: Quincey Koziol cc: Autrijus Tang Subject: Re: FreeBSD rt3 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 09:38:11 -0000 --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" > 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--