gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / ruby / ruby-22 / patches / 03-ruby_1.patch
bloba36a56c87a2dde57b60a62008d9688954c4ad2a9
1 # Replace /usr/local/bin/ruby references in ruby(1) manpage
3 --- ruby-1.9.3-p448.orig/man/ruby.1 Wed Dec 1 03:07:03 2010
4 +++ ruby-1.9.3-p448/man/ruby.1 Mon Aug 26 14:50:56 2013
5 @@ -200,9 +200,9 @@
6 .Li #!
7 on machines that don't support it, in the following manner:
8 .Bd -literal -offset indent
9 -#! /usr/local/bin/ruby
10 +#! /usr/ruby/1.9/bin/ruby
11 # This line makes the next one a comment in Ruby \e
12 - exec /usr/local/bin/ruby -S $0 $*
13 + exec /usr/ruby/1.9/bin/ruby -S $0 $*
14 .Ed
15 .Pp
16 .It Fl T Ns Op Ar level=1
17 @@ -325,7 +325,7 @@
18 .Li ARGV
19 and set the corresponding variable in the script. For example:
20 .Bd -literal -offset indent
21 -#! /usr/local/bin/ruby -s
22 +#! /usr/ruby/1.9/bin/ruby -s
23 # prints "true" if invoked with `-xyz' switch.
24 print "true\en" if $xyz
25 .Ed