components/ruby/ruby-21/Solaris/rbconfig.sedscript
changeset 6265 a254cae29f5b
parent 4210 d367c184f47f
child 6615 c59de4872b2d
equal deleted inserted replaced
6264:85c99f18c0ac 6265:a254cae29f5b
    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"