commit:     e348d79b597d3e148a816af879057c1a5a594623
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  4 17:19:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  4 17:27:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348d79b

dev-ml/yojson: dependency fixes

* We need +/-ocamlopt aligned on dependencies

* cppo is BDEPEND because it's a preprocessor

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/yojson/yojson-1.7.0.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-ml/yojson/yojson-1.7.0.ebuild 
b/dev-ml/yojson/yojson-1.7.0.ebuild
index fbfcfb4f3d5..6b433e0f94a 100644
--- a/dev-ml/yojson/yojson-1.7.0.ebuild
+++ b/dev-ml/yojson/yojson-1.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,13 +14,13 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="examples +ocamlopt"
 
-RDEPEND=">=dev-lang/ocaml-4.02.3:=[ocamlopt]
-       dev-ml/easy-format:=[ocamlopt]
-       >=dev-ml/biniou-1.2:=[ocamlopt]
-"
-DEPEND="${RDEPEND}
-       >=dev-ml/cppo-1.6.1
+RDEPEND="
+       >=dev-lang/ocaml-4.02.3:=[ocamlopt=]
+       dev-ml/easy-format:=[ocamlopt=]
+       >=dev-ml/biniou-1.2:=[ocamlopt=]
 "
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-ml/cppo-1.6.1"
 
 src_install() {
        dune_src_install

Reply via email to