This is a multi-part message in MIME format. --------------050701030502050900070808 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, nobu.nokada / softhome.net wrote: >> You have the patch so do what you want with it... It's in your hands. > I'd like you to commit the patch, regards. :) Just posting it again to be sure that I'll commit the right thing :) Could I commit (makes it sence while you're working on better version)? Michal --------------050701030502050900070808 Content-Type: text/plain; name ubyMKMF3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename ubyMKMF3.diff" Index: lib/mkmf.rb RCS file: /src/ruby/lib/mkmf.rb,v retrieving revision 1.124 diff -u -p -r1.124 mkmf.rb --- lib/mkmf.rb 19 Jan 2003 19:14:22 -0000 1.124 +++ lib/mkmf.rb 21 Jan 2003 13:38:49 -0000 @@ -639,8 +639,6 @@ def create_makefile(target, srcprefix target il if $objs "" - cleanfiles ] - distcleanfiles ] if target and EXPORT_PREFIX origdef arget + '.def' deffile XPORT_PREFIX + origdef @@ -665,7 +663,7 @@ def create_makefile(target, srcprefix end end end - distcleanfiles << deffile unless deffile origdef + $distcleanfiles << deffile unless deffile origdef end libpath ibpathflag(libpath) @@ -677,8 +675,8 @@ def create_makefile(target, srcprefix LIBPATH {libpath} DEFFILE {deffile} -CLEANFILES {cleanfiles.join(' ')} -DISTCLEANFILES {distcleanfiles.join(' ')} +CLEANFILES {$cleanfiles.join(' ')} +DISTCLEANFILES {$distcleanfiles.join(' ')} target_prefix {target_prefix} LOCAL_LIBS {$LOCAL_LIBS} @@ -809,11 +807,14 @@ def init_mkmf(config ONFIG) end $LOCAL_LIBS " + + $cleanfiles ] + $distcleanfiles ] + dir_config("opt") end init_mkmf -dir_config("opt") $make ith_config("make-prog", ENV["MAKE"] || "make") make, hellwords.shellwords($make) --------------050701030502050900070808--