On 03/27/2015 11:46 PM, Sylvestre Ledru wrote: > On 27/03/2015 23:28, Emmanuel Fleury wrote: >> On 03/27/2015 07:48 PM, Sylvestre Ledru wrote: >>> OK, don't hesitate to provide a patch, this should be easy. >> Well, I am new to opam (the OCaml package manager), so I didn't know >> exactly what to do. But, here is the file to write at >> /usr/lib/ocaml/METAS/META.llvm (attached to this email). >> >> I tried it and seems to work fine (at least for me). >> > It is not a patch but I will see what I can do (or someone else if I > haven't done anything)
I spent a bit more time on it, here is a patch that, I believe, solve
the problem.
diff -ruN llvm-defaults-0.26.orig/debian/rules
llvm-defaults-0.26/debian/rules
--- llvm-defaults-0.26.orig/debian/rules 2015-03-28 00:05:18.400955136
+0100
+++ llvm-defaults-0.26/debian/rules 2015-03-28 09:34:38.435145704 +0100
@@ -185,7 +185,7 @@
dh_installdirs -plibllvm-ocaml-dev \
/usr/lib/ocaml/METAS
dh_link -plibllvm-ocaml-dev \
- /usr/lib/ocaml/METAS/META.llvm-$(CURRENT_VERSION)
/usr/lib/ocaml/METAS/META.llvm \
+ /usr/lib/ocaml/llvm-$(CURRENT_VERSION)/META.llvm
/usr/lib/ocaml/METAS/META.llvm \
/usr/lib/ocaml/llvm-$(CURRENT_VERSION) /usr/lib/ocaml/llvm
: # clang
signature.asc
Description: OpenPGP digital signature

