summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/opam.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/opam.eclass b/eclass/opam.eclass
index 03ffc0276412..c742ff7e9367 100644
--- a/eclass/opam.eclass
+++ b/eclass/opam.eclass
@@ -13,8 +13,8 @@
# src_install for opam-based packages.
case ${EAPI:-0} in
- 0|1|2|3|4) die "You need at least EAPI-5 to use opam.eclass";;
- *) ;;
+ 5|6|7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
esac
RDEPEND=">=dev-lang/ocaml-4:="