ports/devel/rubygem-debugger/files/patch-ext-ruby_debug-extconf.rb
Steve Wills 9730aca43d debugger is a fast implementation of the standard Ruby debugger debug.rb. It
is implemented by utilizing a new Ruby C API hook. The core component
provides support that front-ends can build on. It provides breakpoint
handling, bindings for stack frames among other things.

WWW: http://github.com/cldwalker/debugger

PR:		ports/183036
Submitted by:	Vladimir Kondratiev <wulf@mail.mipt.ru>
2013-10-20 03:47:09 +00:00

21 lines
641 B
Ruby

--- ext/ruby_debug/extconf.rb.orig 2013-07-27 13:58:53.000000000 +0400
+++ ext/ruby_debug/extconf.rb 2013-07-27 14:01:30.000000000 +0400
@@ -13,7 +13,6 @@
end
require "mkmf"
-require "debugger/ruby_core_source"
require 'fileutils'
if RUBY_VERSION < "1.9"
@@ -84,7 +83,9 @@
end
dir_config("ruby")
-if !Debugger::RubyCoreSource.create_makefile_with_core(hdrs, "ruby_debug")
+if hdrs.call
+ create_makefile("ruby_debug")
+else
STDERR.print("Makefile creation failed\n")
STDERR.print("*************************************************************\n\n")
STDERR.print(" NOTE: If your headers were not found, try passing\n")