]> git.pld-linux.org Git - packages/ocaml-dbm.git/blame - ocaml-dbm-no-ocamlopt.patch
- rediffed patch
[packages/ocaml-dbm.git] / ocaml-dbm-no-ocamlopt.patch
CommitLineData
5679a65b
JR
1diff -urNp -x '*.orig' dbm-camldbm-1.2.org/Makefile dbm-camldbm-1.2/Makefile
2--- dbm-camldbm-1.2.org/Makefile 2021-03-29 22:34:21.222435473 +0200
3+++ dbm-camldbm-1.2/Makefile 2021-03-29 22:34:21.245768696 +0200
4@@ -25,7 +25,7 @@ LIBDIR=`ocamlc -where`
7eea36a2
JB
5 STUBLIBDIR=$(LIBDIR)/stublibs
6
7
8-all: libcamldbm.$(A) dbm.cma dbm.cmxa dbm.cmxs
9+all: libcamldbm.$(A) dbm.cma
10
11 dbm.cma: dbm.cmo
12 $(OCAMLMKLIB) -o dbm -oc camldbm -linkall dbm.cmo $(DBM_LINK)
5679a65b
JR
13@@ -60,9 +60,7 @@ install::
14 if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi
7eea36a2
JB
15 cp libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/
16 cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A)
17- cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/
18- cp dbm.$(A) $(DESTDIR)$(LIBDIR)/
19- cd $(DESTDIR)$(LIBDIR) && ranlib dbm.$(A)
20+ cp dbm.cma dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/
21 if test -f dbm.cmxs; then cp dbm.cmxs $(DESTDIR)$(LIBDIR)/; fi
22
23 clean::
This page took 0.068992 seconds and 4 git commands to generate.