From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/camlzip/files: camlzip-1.03-Makefile-findlib.patch digest-camlzip-1.03-r1 |
Date: | Sat, 10 Nov 2007 14:18:27 |
Message-Id: | E1IqrAD-0001Pm-8J@stork.gentoo.org |
1 | aballier 07/11/10 14:18:21 |
2 | |
3 | Added: camlzip-1.03-Makefile-findlib.patch |
4 | digest-camlzip-1.03-r1 |
5 | Log: |
6 | also install zlib support, thanks to Pierre Clairambault <pclairam@×××××.com>, bug #198466 |
7 | (Portage version: 2.1.3.19) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ml/camlzip/files/camlzip-1.03-Makefile-findlib.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlzip/files/camlzip-1.03-Makefile-findlib.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlzip/files/camlzip-1.03-Makefile-findlib.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: camlzip-1.03-Makefile-findlib.patch |
16 | =================================================================== |
17 | --- Makefile.orig 2007-11-08 18:07:44.000000000 +0100 |
18 | +++ Makefile 2007-11-08 18:09:35.000000000 +0100 |
19 | @@ -19,10 +19,13 @@ |
20 | OCAMLOPT=ocamlopt |
21 | OCAMLDEP=ocamldep |
22 | OCAMLMKLIB=ocamlmklib |
23 | +OCAMLFIND=ocamlfind |
24 | |
25 | OBJS=zlib.cmo zip.cmo gzip.cmo |
26 | C_OBJS=zlibstubs.o |
27 | |
28 | +LIBINSTALL_FILES = $(wildcard *.mli *.cmi *.cma *.cmxa *.a *.so *.cmx) |
29 | + |
30 | all: libcamlzip.a zip.cma |
31 | |
32 | allopt: libcamlzip.a zip.cmxa |
33 | @@ -55,18 +58,7 @@ |
34 | rm -f *.o *.a |
35 | |
36 | install: |
37 | - mkdir -p $(INSTALLDIR) |
38 | - cp zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR) |
39 | - if test -f dllcamlzip.so; then \ |
40 | - cp dllcamlzip.so $(INSTALLDIR); \ |
41 | - ldconf=`$(OCAMLC) -where`/ld.conf; \ |
42 | - installdir=$(INSTALLDIR); \ |
43 | - if test `grep -s -c $$installdir'$$' $$ldconf || :` = 0; \ |
44 | - then echo $$installdir >> $$ldconf; fi \ |
45 | - fi |
46 | - |
47 | -installopt: |
48 | - cp zip.cmxa zip.a zip.cmx gzip.cmx $(INSTALLDIR) |
49 | + $(OCAMLFIND) install camlzip META $(LIBINSTALL_FILES) |
50 | |
51 | depend: |
52 | gcc -MM -I$(ZLIB_INCLUDE) *.c > .depend |
53 | |
54 | |
55 | |
56 | 1.1 dev-ml/camlzip/files/digest-camlzip-1.03-r1 |
57 | |
58 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlzip/files/digest-camlzip-1.03-r1?rev=1.1&view=markup |
59 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlzip/files/digest-camlzip-1.03-r1?rev=1.1&content-type=text/plain |
60 | |
61 | Index: digest-camlzip-1.03-r1 |
62 | =================================================================== |
63 | MD5 65cee9abf1df6544cae554b94128d441 camlzip-1.03.tar.gz 24562 |
64 | RMD160 fc773c0e351863538817f5c803a1b1d6cf9bc6e5 camlzip-1.03.tar.gz 24562 |
65 | SHA256 d45af5deee6126137eb1bd896373ceeabacb916e30b977122de2eb3134336f08 camlzip-1.03.tar.gz 24562 |
66 | |
67 | |
68 | |
69 | -- |
70 | gentoo-commits@g.o mailing list |