diff options
Diffstat (limited to 'sys-apps/man/files/man-1.6f-compress.patch')
-rw-r--r-- | sys-apps/man/files/man-1.6f-compress.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/man/files/man-1.6f-compress.patch b/sys-apps/man/files/man-1.6f-compress.patch new file mode 100644 index 000000000000..f110acd806da --- /dev/null +++ b/sys-apps/man/files/man-1.6f-compress.patch @@ -0,0 +1,42 @@ +--- configure.orig 2008-12-26 23:59:40.779042906 -0600 ++++ configure 2008-12-27 00:13:15.265256215 -0600 +@@ -1012,20 +1012,25 @@ + if test "$ans" = "true" + then + DO_COMPRESSION=true +- compress= +- for i in lzma bzip2 gzip bzip tzip pack compress freeze yabba +- do +- eval F$i=missing +- for j in $DEFPATH +- do +- if test -f $j/$i +- then +- eval F$i=$j/$i +- if [ x$compress = x ]; then compress=$j/$i; fi +- break +- fi +- done +- done ++ if [ x$COMPRESS != x ]; then ++ compress=$COMPRESS ++ echo $compress ++ else ++ compress= ++ for i in lzma bzip2 gzip bzip tzip pack compress freeze yabba ++ do ++ eval F$i=missing ++ for j in $DEFPATH ++ do ++ if test -f $j/$i ++ then ++ eval F$i=$j/$i ++ if [ x$compress = x ]; then compress=$j/$i; fi ++ break ++ fi ++ done ++ done ++ fi + + if [ x$default = x ]; then + echo "" |