diff options
Diffstat (limited to 'lang/ocaml/patches/patch-man_Makefile')
-rw-r--r-- | lang/ocaml/patches/patch-man_Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-man_Makefile b/lang/ocaml/patches/patch-man_Makefile new file mode 100644 index 00000000000..f0a66e8d1d5 --- /dev/null +++ b/lang/ocaml/patches/patch-man_Makefile @@ -0,0 +1,14 @@ +$NetBSD: patch-man_Makefile,v 1.1 2012/10/08 15:05:33 jaapb Exp $ + +Use BSD_INSTALL_* instead of mkdir and cp +--- man/Makefile.orig 2012-03-16 15:53:07.000000000 +0000 ++++ man/Makefile +@@ -17,7 +17,7 @@ include ../config/Makefile + DIR=$(MANDIR)/man$(MANEXT) + + install: +- for i in *.m; do cp $$i $(DIR)/`basename $$i .m`.$(MANEXT); done ++ for i in *.m; do $(BSD_INSTALL_MAN) $$i $(DIR)/`basename $$i .m`.$(MANEXT); done + echo '.so man$(MANEXT)/ocamlc.$(MANEXT)' > $(DIR)/ocamlc.opt.$(MANEXT) + echo '.so man$(MANEXT)/ocamlopt.$(MANEXT)' > $(DIR)/ocamlopt.opt.$(MANEXT) + echo '.so man$(MANEXT)/ocamlcp.$(MANEXT)' > $(DIR)/ocamloptp.$(MANEXT) |