--- man-1.5m2/configure.orig 2003-09-05 13:48:13 +0400 +++ man-1.5m2/configure 2004-05-26 15:03:35 +0400 @@ -26,7 +26,7 @@ # (Indeed, -r may cause the terminal to get into funny states. # Very inconvenient. For viewing pages in strange locales, set LC_*.) # -DEFAULTLESSOPT="-is" +DEFAULTLESSOPT="-isR" # # Note that not creating any cat directories (/var/cache/man or so) # and not making man suid or sgid is recommended. @@ -357,24 +357,7 @@ echo "-$grepsilent" -# Ask the installer where various things are located. -# (A separate variable is needed since various shells do -# word-splitting at different moments, which means that -# for i in /bin:/usr/bin:$PATH -# does not work everywhere.) -# Some people might prefer having $PATH first in PREPATH -PREPATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:$PATH -IFS0="$IFS" -IFS=":$IFS" -for i in $PREPATH -do - case $i in - /*) - DEFPATH="$DEFPATH $i" - ;; - esac -done -IFS="$IFS0" +DEFPATH="/bin /usr/bin" if [ x$default = x ]; then echo "" @@ -948,7 +931,7 @@ read mode if test "$mode" != ""; then man_mode=$mode; fi fi - man_install_flags="-m $man_mode -o $man_user -g $man_group" + man_install_flags="" fi # What sections do we anticipate? @@ -1103,7 +1086,7 @@ fi # unconditionally handle uncompression -UNCOMPRESSORS="gunzip bzip2 pcat zcat fcat unyabba" +UNCOMPRESSORS="bzcat zcat" for i in $UNCOMPRESSORS do eval F$i=missing @@ -1116,18 +1099,13 @@ fi done done -gunzip=missing -if [ $Fgunzip != missing ]; then - gunzip="$Fgunzip -c" -fi -bzip2=missing -if [ $Fbzip2 != missing ]; then - bzip2="$Fbzip2 -c -d" -fi pcat="$Fpcat" zcat="$Fzcat" +bzcat="$Fbzcat" fcat="$Ffcat" unyabba="$Funyabba" +gunzip="$zcat" +bzip2="$bzcat" if [ x$default = x ]; then echo ""