components/tmux/patches/mdoc.patch
changeset 3717 b16a04ab5d50
equal deleted inserted replaced
3716:a2629a2cf270 3717:b16a04ab5d50
       
     1 For the VPATH builds done in Userland, tmux fails to find an awk script used
       
     2 to prepare the man page.  This patch was submitted to the maintainer on 
       
     3 2014-09-16, he said he has already fixed this problem in the development version.
       
     4 
       
     5 --- ORIGINAL/Makefile.in	2014-02-20 15:11:49.000000000 -0800
       
     6 +++ tmux-1.9/Makefile.in	2014-11-20 11:28:36.648421671 -0800
       
     7 @@ -1221,7 +1221,7 @@
       
     8  			>$(srcdir)/tmux.1.mdoc; \
       
     9  	else \
       
    10  		sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" $(srcdir)/tmux.1| \
       
    11 -			$(AWK) -fmdoc2man.awk >$(srcdir)/tmux.1.man; \
       
    12 +			$(AWK) -f$(srcdir)/mdoc2man.awk >$(srcdir)/tmux.1.man; \
       
    13  	fi
       
    14  	$(MKDIR_P) $(DESTDIR)$(mandir)/man1
       
    15  	$(INSTALL_DATA) $(srcdir)/tmux.1.@MANFORMAT@ \