$NetBSD$

--- stdlib/Makefile.shared.orig	2008-08-01 18:57:10.000000000 +0200
+++ stdlib/Makefile.shared
@@ -41,7 +41,7 @@ OTHERS=array.cmo list.cmo char.cmo strin
 all: stdlib.cma std_exit.cmo camlheader camlheader_ur
 
 install:
-	cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur $(LIBDIR)
+	${BSD_INSTALL_DATA} stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur $(LIBDIR)
 
 stdlib.cma: $(OBJS)
 	$(CAMLC) -a -o stdlib.cma $(OBJS)
