commit: d76b7fd61336782aa03f30aadd005b3b30b5efc9
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 3 13:33:36 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Mar 3 13:33:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76b7fd6
dev-ml/camlpdf: make ocaml 4.03 patch conditional as it breaks older ocaml
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
dev-ml/camlpdf/camlpdf-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
b/dev-ml/camlpdf/camlpdf-2.1.1.ebuild
index 8ba4979..fcd4491 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() {