mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 13:59:22 -04:00
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>
21 lines
641 B
Ruby
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")
|