commit:     f958e05c1c56d52b377b397263e65c08321689c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 02:47:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 03:33:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f958e05c

dev-ml/ocaml-gettext-camomile: fixup deps

Add deps:
* dev-ml/base
* dev-ml/camomile
* dev-ml/ocaml-fileutils (test dep)

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

 .../ocaml-gettext-camomile-0.4.2.ebuild                      | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild 
b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
index 2959342481f..6a130e648f3 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -11,6 +11,7 @@ inherit dune
 DESCRIPTION="Support for internationalization of OCaml programs using the 
Camomile library"
 HOMEPAGE="https://github.com/gildor478/ocaml-gettext";
 SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
@@ -23,11 +24,14 @@ BDEPEND="
        dev-ml/dune-configurator
 "
 RDEPEND="
-       dev-ml/ocaml-gettext:=
+       dev-ml/base:=[ocamlopt]
+       dev-ml/camomile:=[ocamlopt]
+       dev-ml/ocaml-gettext:=[ocamlopt=]
 "
 DEPEND="
        ${RDEPEND}
-       test? ( dev-ml/ounit )
+       test? (
+               dev-ml/ounit[ocamlopt=]
+               dev-ml/ocaml-fileutils[ocamlopt=]
+       )
 "
-
-S="${WORKDIR}/${MY_PN}-${PV}"

Reply via email to