From: Jan Rękorajski Date: Mon, 29 Mar 2021 20:30:34 +0000 (+0200) Subject: - updated patch X-Git-Tag: auto/th/ocaml-dbm-1.2-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=29e8ffbc9155cb78afde8fc6ce76d50dbaf99309;p=packages%2Focaml-dbm.git - updated patch --- diff --git a/ocaml-dbm-destdir.patch b/ocaml-dbm-destdir.patch index f698c44..cb36943 100644 --- a/ocaml-dbm-destdir.patch +++ b/ocaml-dbm-destdir.patch @@ -4,14 +4,14 @@ $(OCAMLDEP) *.ml *.mli > .depend install:: -- if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi +- if test -f dllcamldbm.$(SO); then mkdir $(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi - cp libcamldbm.$(A) $(LIBDIR)/ - cd $(LIBDIR) && ranlib libcamldbm.$(A) - cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/ - cp dbm.$(A) $(LIBDIR)/ - cd $(LIBDIR) && ranlib dbm.$(A) - if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi -+ if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi ++ if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi + cp libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/ + cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A) + cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/