You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ml/ocaml-expat/files/ounit2.patch

18 lines
672 B

Index: ocaml-expat-1.1.0/Makefile
===================================================================
--- ocaml-expat-1.1.0.orig/Makefile
+++ ocaml-expat-1.1.0/Makefile
@@ -85,10 +85,10 @@ test: unittest
testopt: unittest.opt
./unittest.opt
unittest: all unittest.ml
- $(OCAMLFIND) ocamlc -o unittest -package oUnit -ccopt -L. -linkpkg \
+ $(OCAMLFIND) ocamlc -o unittest -package ounit2 -ccopt -L. -linkpkg \
$(ARCHIVE) unittest.ml
unittest.opt: allopt unittest.ml
- $(OCAMLFIND) ocamlopt -o unittest.opt -package oUnit -ccopt -L. -linkpkg \
+ $(OCAMLFIND) ocamlopt -o unittest.opt -package ounit2 -ccopt -L. -linkpkg \
$(XARCHIVE) unittest.ml
## Cleaning up