dev-db/mysql: Add test depedency on dev-perl/JSON and restructure DEPEND/RDEPEND

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Thomas Deutschmann
2018-01-17 09:24:02 +01:00
parent 1ac8d08ba6
commit 2f7c60b31d

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -18,8 +18,13 @@ IUSE="$IUSE numa"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) numa? ( sys-process/numactl )"
RDEPEND="${RDEPEND}"
COMMON_DEPEND="numa? ( sys-process/numactl:= )"
DEPEND="${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
test? ( dev-perl/JSON )"
RDEPEND="${COMMON_DEPEND}"
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"