diff --git a/packages/camlbz2/camlbz2.0.6.0/opam b/packages/camlbz2/camlbz2.0.6.0/opam index 0f6354abe99..87cd240da93 100644 --- a/packages/camlbz2/camlbz2.0.6.0/opam +++ b/packages/camlbz2/camlbz2.0.6.0/opam @@ -13,7 +13,7 @@ build: [ [make] ] depends: [ - "ocaml" + "ocaml" {< "5.0"} "ocamlfind" "conf-libbz2" ] diff --git a/packages/camlbz2/camlbz2.0.7.0/opam b/packages/camlbz2/camlbz2.0.7.0/opam index 664ca5c4dee..dda00a4d6bb 100644 --- a/packages/camlbz2/camlbz2.0.7.0/opam +++ b/packages/camlbz2/camlbz2.0.7.0/opam @@ -15,7 +15,7 @@ build: [ [make] ] depends: [ - "ocaml" + "ocaml" {< "5.0"} "ocamlfind" "conf-autoconf" "conf-aclocal"