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

--- otherlibs/str/Makefile.orig	Thu Jun 27 13:36:02 2002
+++ otherlibs/str/Makefile	Thu Apr 22 10:34:37 2004
@@ -53,13 +53,13 @@
 	cd $(REGEXLIB); if test -f Makefile; then $(MAKE) distclean; else exit 0; fi
 
 install:
-	if test -f dllstr.so; then cp dllstr.so $(STUBLIBDIR)/dllstr.so; fi
-	cp libstr.a $(LIBDIR)/libstr.a
+	if test -f dllstr.so; then ${BSD_INSTALL_DATA} dllstr.so $(STUBLIBDIR)/dllstr.so; fi
+	${BSD_INSTALL_DATA} libstr.a $(LIBDIR)/libstr.a
 	cd $(LIBDIR); $(RANLIB) libstr.a
-	cp str.cma str.cmi str.mli $(LIBDIR)
+	${BSD_INSTALL_DATA} str.cma str.cmi str.mli $(LIBDIR)
 
 installopt:
-	cp str.cmx str.cmxa str.a $(LIBDIR)
+	${BSD_INSTALL_DATA} str.cmx str.cmxa str.a $(LIBDIR)
 	cd $(LIBDIR); $(RANLIB) str.a
 
 .SUFFIXES: .ml .mli .cmo .cmi .cmx
