qi: Update recipe examples using the current ones from Dragora
[dragora.git] / patches / perl / perl-less_nooption
blob8291cc0b4ec89a95d9c258a006d37a9946602dd8
1 --- Configure.orig      2012-10-25 23:44:14.000000000 -0300
2 +++ Configure   2012-11-24 08:39:34.000000000 -0300
3 @@ -2461,9 +2461,9 @@
4  esac
5  case "$less" in
6  '')    ;;
7 -*)     if $less -R </dev/null >/dev/null; then
8 -              echo "Substituting less -R for less."
9 -              less="$less -R"
10 +*)     if $less </dev/null >/dev/null; then
11 +              echo "Substituting less for less."
12 +              less="$less"
13                _less=$less
14         fi
15         ;;