summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-03 14:32:45 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-03 14:32:52 +0100
commit86ad5a0e551a7299c4eee12a5a5848024584d958 (patch)
tree09eedbcd358b1adca8cf4de992b1f6e501f48bfb
parentprofiles: dev-java/{concurrent-util,dsiutils,sux4j} have been removed (diff)
downloadgentoo-86ad5a0e551a7299c4eee12a5a5848024584d958.tar.gz
gentoo-86ad5a0e551a7299c4eee12a5a5848024584d958.tar.bz2
gentoo-86ad5a0e551a7299c4eee12a5a5848024584d958.zip
dev-ml/camlzip: 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>
-rw-r--r--dev-ml/camlzip/camlzip-1.05.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-ml/camlzip/camlzip-1.05.ebuild b/dev-ml/camlzip/camlzip-1.05.ebuild
index bbd81fc810e..f95082e6230 100644
--- a/dev-ml/camlzip/camlzip-1.05.ebuild
+++ b/dev-ml/camlzip/camlzip-1.05.ebuild
@@ -21,7 +21,7 @@ RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}/ocaml-4.03.patch"
+ has_version '>=dev-lang/ocaml-4.03.0_beta1' && epatch "${FILESDIR}/ocaml-4.03.patch"
}
src_compile() {