From owner-freebsd-perl@freebsd.org Mon May 15 13:53:55 2017 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58C56D6D743 for ; Mon, 15 May 2017 13:53:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DBA27100E for ; Mon, 15 May 2017 13:53:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 4247EA275 for ; Mon, 15 May 2017 13:53:43 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/4247EA275; dkim=none; dkim-atps=neutral Subject: Re: FreeBSD Port: databases/p5-DBD-mysql To: freebsd-perl@freebsd.org References: <21a925e5-2149-20b9-6281-40482a0e528e@gesbg.com> From: Matthew Seaman Message-ID: <57fea752-e1e7-69f6-fce4-939414e84557@FreeBSD.org> Date: Mon, 15 May 2017 14:53:29 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <21a925e5-2149-20b9-6281-40482a0e528e@gesbg.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ggjVTHfnAgKvmO73iFakGgTLFx9TRcq4a" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2017 13:53:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ggjVTHfnAgKvmO73iFakGgTLFx9TRcq4a Content-Type: multipart/mixed; boundary="lKOEtEk3oiE6FkC0qlcBWVDFtugPqwPU4"; protected-headers="v1" From: Matthew Seaman To: freebsd-perl@freebsd.org Message-ID: <57fea752-e1e7-69f6-fce4-939414e84557@FreeBSD.org> Subject: Re: FreeBSD Port: databases/p5-DBD-mysql References: <21a925e5-2149-20b9-6281-40482a0e528e@gesbg.com> In-Reply-To: <21a925e5-2149-20b9-6281-40482a0e528e@gesbg.com> --lKOEtEk3oiE6FkC0qlcBWVDFtugPqwPU4 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/05/15 13:33, Iasen Kostov wrote: > Hello > is it possible for this port to be upgraded to depend on the latest > MySQL client ? > Because: >=20 > #:> pkg install mytop > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 5 package(s) will be affected (of 0 checked): >=20 > New packages to be INSTALLED: > mytop: 1.7 > p5-Term-ReadKey: 2.37 > p5-DBI: 1.636_1 > p5-DBD-mysql: 4.042 > mysql56-client: 5.6.35_3 >=20 > When I have: > #:> mysql -V > mysql Ver 14.14 Distrib 5.7.18, for FreeBSD10.3 (amd64) using EditLine= > wrapper >=20 > Is there a problem with the upgrade ? Ah -- unfortunately not for the packages distributed from pkg.freebsd.org. The standard packages will depend on the current default version of MySQL in the ports tree. Unfortunately, that's a hard dependency and compiled into the packages. However, if you can manage to build your own packages, then you can locally change which version of MySQL is used by setting something like this in your make.conf file: DEFAULT_VERSIONS+=3D mysql=3D8.0 That will force a dependency on databases/mysql80-client to be compiled into all pkgs that need mysql client support. Various other versions of mysql / mariadb / percona can be selected similarly. Cheers, Matthew --lKOEtEk3oiE6FkC0qlcBWVDFtugPqwPU4-- --ggjVTHfnAgKvmO73iFakGgTLFx9TRcq4a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZGbLfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTni88QAI2w9VKgHMpmZhldnsTRier0 kPMeO6Egbt+SecHBTSxMHmiOVmBo46+5pIDyEuSCbiPQYgSohGwyg2gxfIDgB4Ks x3g5DGPH/Epa1VmqFRsobo/wx36dI3psdJraQnSw/X2imgNJfKUSXHKd40vWEa5I mXYwy7yAHNAAzOBEke2AOJOO3NcmIP6gEmi6XavJrRRHDGCopIx6EKaZVxYrcQQN LXU7uwd4/jP+F7IHDlXuoySIuoquH43R253JriQl35zoyyA2gurwr36uRBpNqyn2 7ilP1mmPJBth82/S/IxvwiHUy85n3x4Qi5HJ67vJBT1mBxnTg8suAQEAI/XjZlXA 0bqxQJNZlPZQ0mLVOEq9V7g0HteqdOWrQGTdw9UntgGI90gNsQoY4DkOBwu3dKQf e89FaxiTVl6vXB1K+v4QHufsNIkQD6Rjxbm19ehViYwQ60yTiVLoEbWV7DajTsVq DtP0lrSkRaR6CahOpw998g6dhtDKs7/o1jCIYqyNKbbW6BpFsuqwYsBbYchBLAq9 x80XKB8uDfH0o+FJMJnEeGD1W21xi2Rx4ltwkPCd2/hFnD/bA4eiupzcmos1YDRk k7cSjZIPx7F8Hbhte/Fu1Y4EXEThXwqIcL2II5vuBizwjBzkXEQnzirobWXvGVby fBy/u86UpGsPPGkbOg/V =6jjx -----END PGP SIGNATURE----- --ggjVTHfnAgKvmO73iFakGgTLFx9TRcq4a--