freebsd-ports/lang/ruby18/files/patch-ext_tk_tkutil_extconf.rb
Stanislav Sedov 245fe878ce - Fix ruby-tk build.
Reported by:	pav
2009-02-13 22:16:27 +00:00

12 lines
321 B
Ruby

--- ext/tk/tkutil/extconf.rb.orig 2009-02-14 01:15:24.000000000 +0300
+++ ext/tk/tkutil/extconf.rb 2009-02-14 01:15:39.000000000 +0300
@@ -5,9 +5,7 @@
has_tk = true
end
-if has_tk
require 'mkmf'
have_func("rb_obj_instance_exec", "ruby.h")
have_func("strndup", "string.h")
create_makefile('tkutil')
-end