openbsd-ports/devel/ruby-prof/patches/patch-ext_ruby_prof_extconf_rb
2011-05-11 23:39:02 +00:00

16 lines
514 B
Plaintext

$OpenBSD: patch-ext_ruby_prof_extconf_rb,v 1.1 2011/05/11 23:39:02 jeremy Exp $
clock_gettime is in libc in OpenBSD.
--- ext/ruby_prof/extconf.rb.orig Thu May 5 10:25:43 2011
+++ ext/ruby_prof/extconf.rb Thu May 5 10:25:50 2011
@@ -40,7 +40,7 @@ def add_define(name, value = nil)
end
require 'rubygems'
unless Gem.win_platform? || RUBY_PLATFORM =~ /darwin/
- $LDFLAGS += " -lrt" # for clock_gettime
+# $LDFLAGS += " -lrt" # for clock_gettime
end
add_define("RUBY_VERSION", RUBY_VERSION.gsub('.', ''))