From 04db649c0795a57207d1993da45a7b7a3fcb78fa Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 8 Jul 2015 20:54:35 -0400 Subject: [PATCH] man: Use symlink instead of hardlink --- packages/man/Makefile.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/man/Makefile.patch diff --git a/packages/man/Makefile.patch b/packages/man/Makefile.patch new file mode 100644 index 000000000..89f28d057 --- /dev/null +++ b/packages/man/Makefile.patch @@ -0,0 +1,14 @@ +Use a symlink instead of hardlink for mandoc -> man link. + +diff -u -r ../mdocml-1.13.3/Makefile ./Makefile +--- ../mdocml-1.13.3/Makefile 2015-03-13 08:38:38.000000000 -0400 ++++ ./Makefile 2015-07-08 20:48:47.384902670 -0400 +@@ -313,7 +313,7 @@ + mkdir -p $(DESTDIR)$(MANDIR)/man3 + mkdir -p $(DESTDIR)$(MANDIR)/man7 + $(INSTALL_PROGRAM) mandoc demandoc $(DESTDIR)$(BINDIR) +- ln -f $(DESTDIR)$(BINDIR)/mandoc $(DESTDIR)$(BINDIR)/$(BINM_MAN) ++ ln -s -f $(DESTDIR)$(BINDIR)/mandoc $(DESTDIR)$(BINDIR)/$(BINM_MAN) + $(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR) + $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h \ + $(DESTDIR)$(INCLUDEDIR)