equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 # sed script to fix the rbconfig.rb file after |
25 # sed script to fix the rbconfig.rb file after |
26 # the configure and install of ruby |
26 # the configure and install of ruby |
27 |
27 |
28 # use gcc/g++ instead of build-system-specific paths to cc or CC |
28 # use gcc/g++ instead of build-system-specific paths to cc or CC |
39 s/"$(CC) -G"/"$(CC) -shared"/ |
39 s/"$(CC) -G"/"$(CC) -shared"/ |
40 s/"$(CXX) -G"/"$(CXX) -shared"/ |
40 s/"$(CXX) -G"/"$(CXX) -shared"/ |
41 |
41 |
42 # These paths to GNU commands are symlinks which are only available when |
42 # These paths to GNU commands are symlinks which are only available when |
43 # the pkg facet.gnu-links is true, so use the non-faceted paths |
43 # the pkg facet.gnu-links is true, so use the non-faceted paths |
44 s/\/usr\/bin\/ginstall/\/usr\/gnu\/bin\/install/ |
44 s%/usr/bin/ginstall%/usr/gnu/bin/install% |
45 s/\/usr\/bin\/gmkdir/\/usr\/gnu\/bin\/mkdir/ |
45 s%/usr/bin/gmkdir%/usr/gnu/bin/mkdir% |
46 s/\/usr\/bin\/gsed/\/usr\/gnu\/bin\/sed/ |
46 s%/usr/bin/gsed%/usr/gnu/bin/sed% |
47 |
47 s%/usr/bin/ggrep%/usr/gnu/bin/grep% |
48 # add this line to the end of the file |
|
49 $a\ |
|
50 ENV["GEM_HOME"] = "/usr/ruby/RUBY_VER/lib/ruby/gems/RUBY_LIB_VER" |
|