[macruby-changes] [820] MacRuby/trunk/instruby.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sat Feb 28 13:06:49 PST 2009
Revision: 820
http://trac.macosforge.org/projects/ruby/changeset/820
Author: lsansonetti at apple.com
Date: 2009-02-28 13:06:49 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
removed the markgc phase, since the problem was fixed in 10.5.6
Modified Paths:
--------------
MacRuby/trunk/instruby.rb
Modified: MacRuby/trunk/instruby.rb
===================================================================
--- MacRuby/trunk/instruby.rb 2009-02-28 20:38:50 UTC (rev 819)
+++ MacRuby/trunk/instruby.rb 2009-02-28 21:06:49 UTC (rev 820)
@@ -516,35 +516,6 @@
ln_sfh File.join("../../..", CONFIG['bindir'], 'rb_nibtool'), ib_dest
install('tool/rb_nibtool.old', ib_dest, :mode => $prog_mode)
-touch_file = '/System/Library/Frameworks/.bridgesupport_dylib_gcmarked'
-if ($destdir.empty? and File.exist?(touch_file)) or `sw_vers -productVersion`.strip.to_f >= 10.6
- puts "bridge support dylibs already fixed"
-else
- puts "fixing bridge support dylibs"
- unless File.exist?('markgc')
- unless system("/usr/bin/gcc markgc.c -std=gnu99 -o markgc -nostdinc -I/usr/include")
- $stderr.puts "cannot build the markgc tool"
- exit 1
- end
- end
- Dir.glob('/System/Library/Frameworks/**/BridgeSupport/*.dylib').each do |p|
- unless File.exist?(touch_file)
- unless system("./markgc '#{p}' >& /dev/null")
- $stderr.puts "cannot markgc #{p}"
- exit 1
- end
- end
- unless $destdir.empty?
- dirname = File.dirname(p)
- mkdir_p(dirname)
- install(p, dirname)
- end
- end
- if $destdir.empty?
- touch(touch_file)
- end
-end
-
end # unless $installing_rdoc
# vi:set sw=2:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090228/00253d9d/attachment-0001.html>
More information about the macruby-changes
mailing list