Skip to content

Commit

Permalink
dev-perl/DBD-mysql: Fix mysql-client dependencies re bug #595970
Browse files Browse the repository at this point in the history
This means pulling virtual/mysql is only now down with USE=embedded,
and client-libraries are now slot-upgradeable when you upgrade the virtual.

Enforcing SSL happens is still on the todo-list, but turns out, most
backends support SSL in all cases, only mysql-connector-c is an exemption.

Package-Manager: portage-2.3.1
  • Loading branch information
kentfredric committed Oct 7, 2016
1 parent 7a24887 commit fc651d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dev-perl/DBD-mysql/DBD-mysql-4.32.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -16,7 +16,9 @@ IUSE="embedded test"

RDEPEND="dev-perl/DBI
dev-perl/Test-Deep
virtual/mysql[embedded?]"
virtual/libmysqlclient:=
embedded? ( virtual/mysql[embedded] )
"
DEPEND="${RDEPEND}"

src_prepare() {
Expand Down
3 changes: 2 additions & 1 deletion dev-perl/DBD-mysql/DBD-mysql-4.36.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ REQUIRED_USE="?? ( embedded ssl )"
IUSE="embedded test +ssl"

RDEPEND=">=dev-perl/DBI-1.609.0
virtual/mysql[embedded?]
virtual/libmysqlclient:=
embedded? ( virtual/mysql[embedded] )
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
Expand Down

0 comments on commit fc651d7

Please sign in to comment.