Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2017 14:53:29 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-perl@freebsd.org
Subject:   Re: FreeBSD Port: databases/p5-DBD-mysql
Message-ID:  <57fea752-e1e7-69f6-fce4-939414e84557@FreeBSD.org>
In-Reply-To: <21a925e5-2149-20b9-6281-40482a0e528e@gesbg.com>
References:  <21a925e5-2149-20b9-6281-40482a0e528e@gesbg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ggjVTHfnAgKvmO73iFakGgTLFx9TRcq4a
Content-Type: multipart/mixed; boundary="lKOEtEk3oiE6FkC0qlcBWVDFtugPqwPU4";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57fea752-e1e7-69f6-fce4-939414e84557>