]> git.pld-linux.org Git - packages/ocaml-findlib.git/blob - ocaml-findlib-destdir.patch
- updated to 1.5.1
[packages/ocaml-findlib.git] / ocaml-findlib-destdir.patch
1 --- findlib-1.5.1/src/bytes/Makefile.orig       2014-06-25 12:23:06.000000000 +0200
2 +++ findlib-1.5.1/src/bytes/Makefile    2014-06-28 20:37:24.619463407 +0200
3 @@ -1,6 +1,7 @@
4  BYTE_FILES=bytes.cmi bytes.cma
5  NATIVE_FILES=bytes.cmx bytes.cmxa bytes.a bytes.cmxs
6  OCAMLBUILD=ocamlbuild -classic-display -no-links
7 +PKGDIR=$(shell ocamlfind printconf destdir)
8  
9  build: all opt
10  
11 @@ -11,7 +12,7 @@
12         $(OCAMLBUILD) $(NATIVE_FILES)
13  
14  install: all
15 -       cd _build/ && ocamlfind install bytes ../META $(BYTE_FILES) -optional $(NATIVE_FILES)
16 +       cd _build/ && ocamlfind install bytes ../META $(BYTE_FILES) -optional $(NATIVE_FILES) -destdir $(prefix)/$(PKGDIR)
17  
18  uninstall:
19         ocamlfind remove bytes
This page took 0.050232 seconds and 3 git commands to generate.