summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-stdlib_Makefile.shared
blob: 9408518d5310af09c5a297b9a9cb4521bdce2d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-stdlib_Makefile.shared,v 1.3 2015/06/30 11:08:47 jaapb Exp $

Use BSD_INSTALL_* instead of mkdir and cp
--- stdlib/Makefile.shared.orig	2015-05-12 14:46:37.000000000 +0000
+++ stdlib/Makefile.shared
@@ -45,7 +45,7 @@ all: stdlib.cma std_exit.cmo camlheader 
 INSTALL_LIBDIR=$(DESTDIR)$(LIBDIR)
 
 install: install-$(RUNTIMED)
-	cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader_ur \
+	$(BSD_INSTALL_DATA) stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader_ur \
 	  $(INSTALL_LIBDIR)
 	cp target_camlheader $(INSTALL_LIBDIR)/camlheader