[前][次][番号順一覧][スレッド一覧]

ruby-changes:10289

From: yugui <ko1@a...>
Date: Wed, 28 Jan 2009 18:24:03 +0900 (JST)
Subject: [ruby-changes:10289] Ruby:r21834 (ruby_1_9_1): merges r21766 from trunk into ruby_1_9_1.

yugui	2009-01-28 18:23:12 +0900 (Wed, 28 Jan 2009)

  New Revision: 21834

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21834

  Log:
    merges r21766 from trunk into ruby_1_9_1.
    * lib/mkmf.rb (create_makefile):fixed the variables order because
      converter proc refers the separator.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/lib/mkmf.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21833)
+++ ruby_1_9_1/ChangeLog	(revision 21834)
@@ -1,3 +1,8 @@
+Sun Jan 25 11:50:20 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/mkmf.rb (create_makefile):fixed the variables order because
+	  converter proc refers the separator.
+
 Sun Jan 25 11:25:10 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
Index: ruby_1_9_1/lib/mkmf.rb
===================================================================
--- ruby_1_9_1/lib/mkmf.rb	(revision 21833)
+++ ruby_1_9_1/lib/mkmf.rb	(revision 21834)
@@ -1657,12 +1657,12 @@
   mfile.print CLEANINGS
   fsep = config_string('BUILD_FILE_SEPARATOR') {|s| s unless s == "/"}
   if fsep
+    sep = ":/=#{fsep}"
     fseprepl = proc {|s|
       s = s.gsub("/", fsep)
       s = s.gsub(/(\$\(\w+)(\))/) {$1+sep+$2}
       s = s.gsub(/(\$\{\w+)(\})/) {$1+sep+$2}
     }
-    sep = ":/=#{fsep}"
   else
     fseprepl = proc {|s| s}
     sep = ""

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]