[packages/ocaml-dbm] - updated patch

baggins baggins at pld-linux.org
Mon Mar 29 22:31:15 CEST 2021


commit 29e8ffbc9155cb78afde8fc6ce76d50dbaf99309
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 29 22:30:34 2021 +0200

    - updated patch

 ocaml-dbm-destdir.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
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)/
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-dbm.git/commitdiff/29e8ffbc9155cb78afde8fc6ce76d50dbaf99309



More information about the pld-cvs-commit mailing list