зеркало из https://github.com/github/ruby.git
fix r66599 to sucess install. please refix this patch @nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8422725408
Коммит
da8830e3de
|
@ -67,6 +67,8 @@ AC_SUBST(MAJOR)
|
|||
AC_SUBST(MINOR)
|
||||
AC_SUBST(TEENY)
|
||||
AC_SUBST(RUBY_API_VERSION, '$(MAJOR).$(MINOR)')
|
||||
AC_SUBST(RUBY_PROGRAM_VERSION, '$(MAJOR).$(MINOR).$(TEENY)')
|
||||
|
||||
dnl checks for alternative programs
|
||||
AC_CANONICAL_BUILD
|
||||
RUBY_RM_RECURSIVE
|
||||
|
|
|
@ -132,10 +132,10 @@ File.foreach "config.status" do |line|
|
|||
else
|
||||
v_others << v
|
||||
end
|
||||
case name
|
||||
when "RUBY_PROGRAM_VERSION"
|
||||
version = val[/\A"(.*)"\z/, 1]
|
||||
end
|
||||
#case name
|
||||
#when "RUBY_PROGRAM_VERSION"
|
||||
# version = val[/\A"(.*)"\z/, 1]
|
||||
#end
|
||||
end
|
||||
# break if /^CEOF/
|
||||
end
|
||||
|
@ -163,6 +163,7 @@ end
|
|||
prefix = vars.expand(vars["prefix"] ||= "")
|
||||
rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "")
|
||||
relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir
|
||||
|
||||
puts %[\
|
||||
# encoding: ascii-8bit
|
||||
# frozen-string-literal: false
|
||||
|
|
Загрузка…
Ссылка в новой задаче