summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-debugger_Makefile.shared
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/patches/patch-debugger_Makefile.shared')
-rw-r--r--lang/ocaml/patches/patch-debugger_Makefile.shared14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-debugger_Makefile.shared b/lang/ocaml/patches/patch-debugger_Makefile.shared
new file mode 100644
index 00000000000..98f1e322288
--- /dev/null
+++ b/lang/ocaml/patches/patch-debugger_Makefile.shared
@@ -0,0 +1,14 @@
+$NetBSD: patch-debugger_Makefile.shared,v 1.1 2012/10/08 15:05:33 jaapb Exp $
+
+Use BSD_INSTALL_* instead of mkdir and cp
+--- debugger/Makefile.shared.orig 2012-05-31 12:41:49.000000000 +0000
++++ debugger/Makefile.shared
+@@ -83,7 +83,7 @@ ocamldebug$(EXE): $(OBJS) $(OTHEROBJS)
+ $(CAMLC) $(LINKFLAGS) -o ocamldebug$(EXE) -linkall $(OTHEROBJS) $(OBJS)
+
+ install:
+- cp ocamldebug$(EXE) $(BINDIR)/ocamldebug$(EXE)
++ $(BSD_INSTALL_SCRIPT) ocamldebug$(EXE) $(BINDIR)/ocamldebug$(EXE)
+
+ clean::
+ rm -f ocamldebug$(EXE)