diff options
Diffstat (limited to 'dev-ml/camlzip/files/camlzip-1.01-Makefile-findlib.patch')
-rw-r--r-- | dev-ml/camlzip/files/camlzip-1.01-Makefile-findlib.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ml/camlzip/files/camlzip-1.01-Makefile-findlib.patch b/dev-ml/camlzip/files/camlzip-1.01-Makefile-findlib.patch new file mode 100644 index 000000000000..e7c4014d3c82 --- /dev/null +++ b/dev-ml/camlzip/files/camlzip-1.01-Makefile-findlib.patch @@ -0,0 +1,23 @@ +--- Makefile.orig 2004-08-25 14:34:02.963205056 +0200 ++++ Makefile 2004-08-25 14:35:28.916138224 +0200 +@@ -55,18 +55,8 @@ + rm -f *.o *.a + + install: +- mkdir -p $(INSTALLDIR) +- cp zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR) +- if test -f dllcamlzip.so; then \ +- cp dllcamlzip.so $(INSTALLDIR); \ +- ldconf=`$(OCAMLC) -where`/ld.conf; \ +- installdir=$(INSTALLDIR); \ +- if test `grep -s -c $$installdir'$$' $$ldconf || :` = 0; \ +- then echo $$installdir >> $$ldconf; fi \ +- fi +- +-installopt: +- cp zip.cmxa zip.a zip.cmx gzip.cmx $(INSTALLDIR) ++ ocamlfind install camlzip META zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a dllcamlzip.so \ ++ zip.cmxa zip.a zip.cmx gzip.cmx + + depend: + gcc -MM -I$(ZLIB_INCLUDE) *.c > .depend |