ruby-changes:55465
From: Kazuhiro <ko1@a...>
Date: Mon, 22 Apr 2019 11:40:00 +0900 (JST)
Subject: [ruby-changes:55465] Kazuhiro NISHIYAMA:r6013e41a7b (trunk): Support of Ruby 2.3 has ended
Kazuhiro NISHIYAMA 2019-04-22 11:39:08 +0900 (Mon, 22 Apr 2019) New Revision: 6013e41a7b https://git.ruby-lang.org/ruby.git/commit/?id=6013e41a7b Log: Support of Ruby 2.3 has ended https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/ Modified files: .travis.yml Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 6012) +++ ruby_1_8/ChangeLog (revision 6013) @@ -1,3 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_8/ChangeLog#L1 +Wed Mar 24 18:48:26 2004 Nobuyoshi Nakada <nobu@r...> + + * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by + DESTDIR after installed. + + * lib/mkmf.rb (RUBY): / is not recognized as path separator on + nmake/bmake. [ruby-list:39388] + + * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated. + Wed Mar 24 12:32:56 2004 Dave Thomas <dave@p...> * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_class_module): @@ -10,11 +20,11 @@ Wed Mar 24 12:32:56 2004 Dave Thomas < https://github.com/ruby/ruby/blob/trunk/ruby_1_8/ChangeLog#L20 Wed Mar 24 11:11:26 2004 Dave Thomas <dave@p...> - * lib/rdoc/generators/html_generator.rb (Generators::HTMLGenerator::load_html_template): + * lib/rdoc/generators/html_generator.rb (Generators::HTMLGenerator::load_html_template): Allow non-RDoc templates by putting a slash in the template name Mon Mar 22 16:19:57 2004 WATANABE Hirofumi <eban@r...> - + * ruby.1: add -width option to .Bl for old groff. Sun Mar 21 21:11:16 2004 Keiju Ishitsuka <keiju@i...> Index: ruby_1_8/lib/mkmf.rb =================================================================== --- ruby_1_8/lib/mkmf.rb (revision 6012) +++ ruby_1_8/lib/mkmf.rb (revision 6013) @@ -46,7 +46,6 @@ $sitedir = CONFIG["sitedir"] https://github.com/ruby/ruby/blob/trunk/ruby_1_8/lib/mkmf.rb#L46 $sitelibdir = CONFIG["sitelibdir"] $sitearchdir = CONFIG["sitearchdir"] -$extmk = /extmk\.rb/ =~ $0 $mswin = /mswin/ =~ RUBY_PLATFORM $bccwin = /bccwin/ =~ RUBY_PLATFORM $mingw = /mingw/ =~ RUBY_PLATFORM @@ -77,15 +76,17 @@ def map_dir(dir, map = nil) https://github.com/ruby/ruby/blob/trunk/ruby_1_8/lib/mkmf.rb#L76 map.inject(dir) {|dir, (orig, new)| dir.gsub(orig, new)} end +libdir = File.dirname(__FILE__) +$extmk = libdir != Config::CONFIG["rubylibdir"] if not $extmk and File.exist? Config::CONFIG["archdir"] + "/ruby.h" + $topdir = Config::CONFIG["archdir"] $hdrdir = $archdir elsif File.exist? $srcdir + "/ruby.h" + $topdir = Config::CONFIG["compile_dir"] $hdrdir = $srcdir else - warn "can't find header files for ruby." - exit 1 + abort "can't find header files for ruby." end -$topdir = $hdrdir OUTFLAG = CONFIG['OUTFLAG'] CPPOUTFILE = CONFIG['CPPOUTFILE'] @@ -714,7 +715,7 @@ SHELL = /bin/sh https://github.com/ruby/ruby/blob/trunk/ruby_1_8/lib/mkmf.rb#L715 srcdir = #{srcdir} topdir = #{$topdir} -hdrdir = #{$hdrdir} +hdrdir = #{$extmk ? $hdrdir : '$(topdir)'} VPATH = #{$mingw && CONFIG['build_os'] == 'cygwin' ? '$(shell cygpath -u $(srcdir))' : '$(srcdir)'} } drive = File::PATH_SEPARATOR == ';' ? /\A\w:/ : /\A/ @@ -750,7 +751,8 @@ RUBY_SO_NAME = #{CONFIG['RUBY_SO_NAME']} https://github.com/ruby/ruby/blob/trunk/ruby_1_8/lib/mkmf.rb#L751 arch = #{CONFIG['arch']} sitearch = #{CONFIG['sitearch']} ruby_version = #{Config::CONFIG['ruby_version']} -RUBY = #{$ruby} +ruby = #{$ruby} +RUBY = #{($nmake && !$extmk && !$configure_args.has_key?('--ruby')) ? '$(ruby:/=\)' : '$(ruby)'} RM = $(RUBY) -run -e rm -- -f MAKEDIRS = $(RUBY) -run -e mkdir -- -p INSTALL_PROG = $(RUBY) -run -e install -- -vpm 0755 @@ -960,7 +962,7 @@ def init_mkmf(config = CONFIG) https://github.com/ruby/ruby/blob/trunk/ruby_1_8/lib/mkmf.rb#L962 $ARCH_FLAG = with_config("arch_flag", arg_config("ARCH_FLAG", config["ARCH_FLAG"])).dup $CPPFLAGS = with_config("cppflags", arg_config("CPPFLAGS", config["CPPFLAGS"])).dup $LDFLAGS = (with_config("ldflags") || "").dup - $INCFLAGS = "-I#{$topdir}" + $INCFLAGS = "-I$(topdir)" $DLDFLAGS = with_config("dldflags", arg_config("DLDFLAGS", config["DLDFLAGS"])).dup $LIBEXT = config['LIBEXT'].dup $OBJEXT = config["OBJEXT"].dup @@ -1004,7 +1006,7 @@ $configure_args["--topsrcdir"] ||= $srcd https://github.com/ruby/ruby/blob/trunk/ruby_1_8/lib/mkmf.rb#L1006 Config::CONFIG["topdir"] = CONFIG["topdir"] = $curdir = arg_config("--curdir", Dir.pwd) $configure_args["--topdir"] ||= $curdir -$ruby = arg_config("--ruby", File.join(CONFIG["bindir"], CONFIG["ruby_install_name"])) +$ruby = arg_config("--ruby", File.join(Config::CONFIG["bindir"], CONFIG["ruby_install_name"])) split = Shellwords.method(:shellwords).to_proc -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/