$NetBSD: patch-ay,v 1.1 2004/04/22 09:18:40 tron Exp $

--- otherlibs/dbm/Makefile.orig	Thu Jun 27 13:36:01 2002
+++ otherlibs/dbm/Makefile	Thu Apr 22 10:34:37 2004
@@ -47,13 +47,13 @@
 	rm -f *.a *.o *.so
 
 install:
-	if test -f dllmldbm.so; then cp dllmldbm.so $(STUBLIBDIR)/dllmldbm.so; fi
-	cp libmldbm.a $(LIBDIR)/libmldbm.a
+	if test -f dllmldbm.so; then ${BSD_INSTALL_DATA} dllmldbm.so $(STUBLIBDIR)/dllmldbm.so; fi
+	${BSD_INSTALL_DATA} libmldbm.a $(LIBDIR)/libmldbm.a
 	cd $(LIBDIR); $(RANLIB) libmldbm.a
-	cp dbm.cma dbm.cmi dbm.mli $(LIBDIR)
+	${BSD_INSTALL_DATA} dbm.cma dbm.cmi dbm.mli $(LIBDIR)
 
 installopt:
-	cp dbm.cmx dbm.cmxa dbm.a $(LIBDIR)
+	${BSD_INSTALL_DATA} dbm.cmx dbm.cmxa dbm.a $(LIBDIR)
 	cd $(LIBDIR); $(RANLIB) dbm.a
 
 .SUFFIXES: .ml .mli .cmo .cmi .cmx
