summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-03 14:33:36 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-03 14:33:36 +0100
commitd76b7fd61336782aa03f30aadd005b3b30b5efc9 (patch)
tree628151540ac9f15a015d5bd9113675b7f4fa0df5 /dev-ml/camlpdf/camlpdf-2.1.1.ebuild
parentdev-ml/camlzip: make ocaml 4.03 patch conditional as it breaks older ocaml (diff)
downloadgentoo-d76b7fd61336782aa03f30aadd005b3b30b5efc9.tar.gz
gentoo-d76b7fd61336782aa03f30aadd005b3b30b5efc9.tar.bz2
gentoo-d76b7fd61336782aa03f30aadd005b3b30b5efc9.zip
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@gentoo.org>
Diffstat (limited to 'dev-ml/camlpdf/camlpdf-2.1.1.ebuild')
-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 8ba49799866b..fcd4491c8173 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() {