summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/jbuilder/jbuilder-1.0_beta10.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ml/jbuilder/jbuilder-1.0_beta10.ebuild b/dev-ml/jbuilder/jbuilder-1.0_beta10.ebuild
index e085a50586fa..7207b149918d 100644
--- a/dev-ml/jbuilder/jbuilder-1.0_beta10.ebuild
+++ b/dev-ml/jbuilder/jbuilder-1.0_beta10.ebuild
@@ -25,6 +25,11 @@ OPAMSWITCH="system"
S="${WORKDIR}/${MY_P}"
OPAMROOT="${D}"
+src_prepare() {
+ # Disable Werror like behavior, doesnt build with ocaml 4.05 otherwise
+ sed -i -e 's/--dev//' Makefile || die
+}
+
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \