summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-07-01 08:53:04 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-07-01 08:53:04 +0200
commit48049ee7be01fda94398879ce31997e3adebda15 (patch)
tree505879b7edfb2033d690d1e32e44ccff5862d024
parentsys-libs/liburing: sync live ebuild (diff)
downloadgentoo-48049ee7.tar.gz
gentoo-48049ee7.tar.bz2
gentoo-48049ee7.zip
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@gentoo.org>
-rw-r--r--dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild4
-rw-r--r--dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild4
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