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

ruby-changes:41378

From: nobu <ko1@a...>
Date: Thu, 7 Jan 2016 15:37:30 +0900 (JST)
Subject: [ruby-changes:41378] nobu:r53450 (trunk): mkmf.rb: fix for ODE make

nobu	2016-01-07 15:37:44 +0900 (Thu, 07 Jan 2016)

  New Revision: 53450

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53450

  Log:
    mkmf.rb: fix for ODE make
    
    * lib/mkmf.rb (create_makefile): get rid of placing @ at the
      beginning of replacement, which is the loop expansion mechanism
      from the OSF Development Environment (ODE) make.  fix failures
      with bmake by r53448.

  Modified files:
    trunk/lib/mkmf.rb
Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 53449)
+++ lib/mkmf.rb	(revision 53450)
@@ -2375,7 +2375,7 @@ static: #{$extmk && !$static ? "all" : " https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2375
         if $nmake
           mfile.print "!if \"$(Q)\" == \"@\"\n\t@#{q} || \\\n!endif\n\t"
         else
-          mfile.print "\t$(Q:@=@#{q} || )"
+          mfile.print "\t$(Q1:0=@#{q} || )"
         end
         mfile.print "$(ECHO:@=) installing#{sfx.sub(/^-/, " ")} #{target} libraries\n"
       end

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

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