diff options
Diffstat (limited to 'lang/ocaml/patches/patch-an')
-rw-r--r-- | lang/ocaml/patches/patch-an | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lang/ocaml/patches/patch-an b/lang/ocaml/patches/patch-an index 9df4d46b84f..66831b382e0 100644 --- a/lang/ocaml/patches/patch-an +++ b/lang/ocaml/patches/patch-an @@ -1,15 +1,15 @@ -$NetBSD: patch-an,v 1.1 2004/04/22 09:18:38 tron Exp $ +$NetBSD: patch-an,v 1.2 2005/02/04 21:35:51 adrianp Exp $ ---- camlp4/man/Makefile.orig Fri Jul 19 16:53:49 2002 -+++ camlp4/man/Makefile Thu Apr 22 10:34:37 2004 -@@ -14,8 +14,8 @@ - get_promote: +--- camlp4/man/Makefile.orig 2003-07-03 17:14:49.000000000 +0100 ++++ camlp4/man/Makefile 2004-10-12 22:28:52.000000000 +0100 +@@ -16,8 +16,8 @@ install: -- -$(MKDIR) $(MANDIR)/man1 -- -cp $(TARGET) $(MANDIR)/man1/. -+ -${BSD_INSTALL_MAN_DIR} $(MANDIR)/man1 -+ -${BSD_INSTALL_MAN} $(TARGET) $(MANDIR)/man1/. - -cd $(MANDIR)/man1; rm -f camlp4o.1; ln -s $(TARGET) camlp4o.1 - -cd $(MANDIR)/man1; rm -f camlp4r.1; ln -s $(TARGET) camlp4r.1 - -cd $(MANDIR)/man1; rm -f mkcamlp4.1; ln -s $(TARGET) mkcamlp4.1 + if test -n '$(MANDIR)'; then \ +- $(MKDIR) $(MANDIR)/man1 ; \ +- cp $(TARGET) $(MANDIR)/man1/. ; \ ++ ${BSD_INSTALL_MAN_DIR} $(MANDIR)/man1 ; \ ++ ${BSD_INSTALL_MAN} $(TARGET) $(MANDIR)/man1/. ; \ + for i in $(ALIASES); do \ + rm -f $(MANDIR)/man1/$$i; \ + echo '.so man1/$(TARGET)' > $(MANDIR)/man1/$$i; \ |