summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-03-04 16:36:54 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-03-04 16:36:54 +0100
commitcce23589e9cb747694a56abf50e8ecba12c38384 (patch)
tree78f3b866050da0b2a0f98d17a0eaea221773ae99 /dev-db
parentdev-util/meson: backport Python 3.5 tests fix (diff)
downloadgentoo-cce23589e9cb747694a56abf50e8ecba12c38384.tar.gz
gentoo-cce23589e9cb747694a56abf50e8ecba12c38384.tar.bz2
gentoo-cce23589e9cb747694a56abf50e8ecba12c38384.zip
dev-db/mysql-connector-c++: add LibreSSL support
Closes: https://bugs.gentoo.org/602324 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql-connector-c++/mysql-connector-c++-1.1.12.ebuild5
-rw-r--r--dev-db/mysql-connector-c++/mysql-connector-c++-8.0.15.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.12.ebuild b/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.12.ebuild
index 5bb2921319c8..9fe978903a8c 100644
--- a/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.12.ebuild
+++ b/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.12.ebuild
@@ -13,11 +13,12 @@ SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}.tar.gz"
LICENSE="Artistic GPL-2"
SLOT="0/7"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug examples gcov static-libs"
+IUSE="debug examples gcov libressl static-libs"
DEPEND="virtual/libmysqlclient:=
dev-libs/boost:=
- dev-libs/openssl:0=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
!<dev-db/mysql-connector-c-6.1.8"
RDEPEND="${DEPEND}"
diff --git a/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.15.ebuild b/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.15.ebuild
index 0f81eed7d57f..2b7374017ca9 100644
--- a/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.15.ebuild
+++ b/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.15.ebuild
@@ -14,15 +14,16 @@ SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
LICENSE="Artistic GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+legacy"
+IUSE="+legacy libressl"
RDEPEND="
- dev-libs/openssl:0=
dev-libs/protobuf:=
legacy? (
dev-libs/boost:=
>=dev-db/mysql-connector-c-6.1.8:=
- )"
+ )
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P}-src"