ocaml: Fix OCaml dependencies.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 30 Nov 2011 17:08:27 +0000 (17:08 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 30 Nov 2011 17:08:27 +0000 (17:08 +0000)
ocaml/Makefile.am

index 5287035..95185ef 100644 (file)
@@ -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