summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/camlpdf/camlpdf-2.1.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-ml/camlpdf/camlpdf-2.1.1.ebuild b/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
index 8ba49799866..fcd4491c817 100644
--- a/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
+++ b/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
@@ -20,7 +20,7 @@ RDEPEND="dev-lang/ocaml:="
DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}/ocaml43.patch"
+ has_version '>=dev-lang/ocaml-4.03.0_beta1' && epatch "${FILESDIR}/ocaml43.patch"
}
src_compile() {