$OpenBSD: patch-unix_installManPage,v 1.1 2011/10/17 15:19:22 stu Exp $ --- unix/installManPage.orig Thu Jun 23 09:18:36 2011 +++ unix/installManPage Mon Oct 10 07:58:17 2011 @@ -93,6 +93,9 @@ esac SrcDir=`dirname $ManPage` +Section=0 +Cat='/usr/local/bin/groff -Tascii -mandoc -Wall -mtty-char -P -c -- -' + ######################################################################## ### Process Page to Create Target Pages ### @@ -104,7 +107,7 @@ for Target in $Names; do if test -z "$First" ; then First=$Target sed -e "/man\.macros/r $SrcDir/man.macros" -e "/man\.macros/d" \ - $ManPage > $Dir/$First + $ManPage | $Cat > $Dir/$First chmod 444 $Dir/$First $Gzip $Dir/$First else