opnsense-ports/devel/rubygem-debugger/files/patch-ext-ruby_debug-extconf.rb
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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")