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

ruby-changes:10222

From: nobu <ko1@a...>
Date: Sun, 25 Jan 2009 11:50:40 +0900 (JST)
Subject: [ruby-changes:10222] Ruby:r21766 (trunk): * lib/mkmf.rb (create_makefile):fixed the variables order because

nobu	2009-01-25 11:50:24 +0900 (Sun, 25 Jan 2009)

  New Revision: 21766

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

  Log:
    * lib/mkmf.rb (create_makefile):fixed the variables order because
      converter proc refers the separator.

  Modified files:
    trunk/ChangeLog
    trunk/lib/mkmf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21765)
+++ ChangeLog	(revision 21766)
@@ -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: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 21765)
+++ lib/mkmf.rb	(revision 21766)
@@ -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/

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