summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bf
blob: 18ce1fe0a1b371b438de60b509e1cd1766ee55f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-bf,v 1.3 2009/09/07 21:48:14 tonio Exp $

--- otherlibs/labltk/jpf/Makefile.orig	2007-12-12 15:09:45.000000000 +0100
+++ otherlibs/labltk/jpf/Makefile	2009-05-21 11:14:53.000000000 +0200
@@ -21,10 +21,10 @@
 	$(CAMLOPTLIBR) -o jpflib.cmxa $(OBJSX)
 
 install:
-	cp $(OBJS:.cmo=.cmi) $(OBJS:.cmo=.mli) jpflib.cma $(INSTALLDIR)
+	${BSD_INSTALL_DATA} $(OBJS:.cmo=.cmi) $(OBJS:.cmo=.mli) jpflib.cma $(INSTALLDIR)
 
 installopt:
-	cp jpflib.cmxa jpflib.$(A) $(OBJS:.cmo=.cmx) $(INSTALLDIR)
+	${BSD_INSTALL_DATA} jpflib.cmxa jpflib.$(A) $(OBJS:.cmo=.cmx) $(INSTALLDIR)
 
 clean:
 	rm -f *.cm* *.$(O) *.$(A) *~ *test