From ab121fb2e2c58fa340757f8be888d01a053a4d1c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 30 Nov 2011 17:08:27 +0000 Subject: [PATCH] ocaml: Fix OCaml dependencies. (cherry picked from commit ce331df0f1857bccebaaddfac79677bc9f527197) --- ocaml/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 5287035..95185ef 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -139,9 +139,9 @@ depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f $@ $@-t $(OCAMLFIND) ocamldep $^ | \ - $(SED) 's/ *$$//' | \ + $(SED) -e 's/ *$$//' | \ $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \ - sort > $@-t + LANG=C sort > $@-t mv $@-t $@ include .depend -- 1.8.3.1