summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-30 13:46:57 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-30 14:47:13 +0200
commit7d8d3aac004f94526b26cbaf6162308a79df0f68 (patch)
tree078e66638099bd7d15db0dcecd74c6e1f9750043 /dev-ml
parentdev-ml/ocamlnet: backport upstream fix to build with ocaml 4.05 (diff)
downloadgentoo-7d8d3aac004f94526b26cbaf6162308a79df0f68.tar.gz
gentoo-7d8d3aac004f94526b26cbaf6162308a79df0f68.tar.bz2
gentoo-7d8d3aac004f94526b26cbaf6162308a79df0f68.zip
dev-ml/jbuilder: Disable -Werror like behavior; ocaml 4.05 generates some new warnings.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml')
-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" \