summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-17 21:24:49 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-17 21:41:54 +0100
commite38e5d9c12961815cd65012b3688d297ff95fe64 (patch)
tree2e899a748649a4ee9b195aa9ea6e011ca86c3c67 /dev-db/mysql-connector-c
parentnet-dns/resolv_wrapper: bump to v1.1.7 (diff)
downloadgentoo-e38e5d9c12961815cd65012b3688d297ff95fe64.tar.gz
gentoo-e38e5d9c12961815cd65012b3688d297ff95fe64.tar.bz2
gentoo-e38e5d9c12961815cd65012b3688d297ff95fe64.zip
dev-db/mysql-connector-c: allow usage as live ebuild
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/mysql-connector-c')
-rw-r--r--dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild
index ebffdbbcada1..4923fe57f0c3 100644
--- a/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild
+++ b/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild
@@ -11,11 +11,20 @@ MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config )
DESCRIPTION="C client library for MariaDB/MySQL"
HOMEPAGE="https://dev.mysql.com/downloads/"
-SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-${PV}.tar.gz"
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/mysql/mysql-server.git"
+
+ inherit git-r3
+else
+ SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${PV}.tar.gz"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
+
+ S="${WORKDIR}/mysql-${PV}"
+fi
LICENSE="GPL-2"
SLOT="0/21"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
IUSE="ldap libressl static-libs"
RDEPEND="
@@ -39,8 +48,6 @@ RDEPEND+=" !<dev-db/percona-server-5.7.26.29-r1"
DOCS=( README )
-S="${WORKDIR}/mysql-${PV}"
-
PATCHES=(
"${FILESDIR}"/${PN}-8.0.22-always-build-decompress-utilities.patch
"${FILESDIR}"/${PN}-8.0.19-do-not-install-comp_err.patch