commit:     48049ee7be01fda94398879ce31997e3adebda15
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 06:53:04 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 06:53:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48049ee7

dev-ml/ocaml-ctypes: findlib[ocamlopt?] is in findlib.eclass

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild | 4 ++--
 dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild 
b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild
index b1d5842e96c8..b89d84c33e6f 100644
--- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild
@@ -15,15 +15,15 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND="dev-ml/findlib[ocamlopt]"
 RDEPEND="
-       >=dev-lang/ocaml-4.02:=[ocamlopt]
+       >=dev-lang/ocaml-4.02:=
        >=dev-libs/libffi-3.3_rc0:=
        dev-ml/bigarray-compat:=
        dev-ml/integers:=
 "
 DEPEND="${RDEPEND}
        test? ( dev-ml/ounit2 dev-ml/lwt )"
+REQUIRED_USE="ocamlopt"
 
 src_prepare() {
        sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die

diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild 
b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
index 386a3be30de6..a3fbc4c28994 100644
--- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
@@ -15,15 +15,15 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND="dev-ml/findlib[ocamlopt]"
 RDEPEND="
-       >=dev-lang/ocaml-4.02:=[ocamlopt]
+       >=dev-lang/ocaml-4.02:=
        >=dev-libs/libffi-3.3_rc0:=
        dev-ml/bigarray-compat:=
        dev-ml/integers:=
 "
 DEPEND="${RDEPEND}
        test? ( dev-ml/ounit2 dev-ml/lwt )"
+REQUIRED_USE="ocamlopt"
 
 src_prepare() {
        sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die

Reply via email to