Update to version 0.10.6. Add a patch to allow compilation, since
clock_gettime is in libc in OpenBSD.
This commit is contained in:
parent
3eaf0a1e13
commit
5cb5104ec3
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/20 18:13:08 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2011/05/11 23:39:02 jeremy Exp $
|
||||
|
||||
COMMENT = fast code profiler for Ruby
|
||||
|
||||
DISTNAME = ruby-${PKGNAME}
|
||||
PKGNAME = prof-0.9.2
|
||||
REVISION = 0
|
||||
PKGNAME = prof-0.10.6
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://ruby-prof.rubyforge.org/
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (ruby-prof-0.9.2.gem) = vTPJjYfKL0lElT543QF3VA==
|
||||
RMD160 (ruby-prof-0.9.2.gem) = WRtqgketzETcV4ukT7SErwEKUSA=
|
||||
SHA1 (ruby-prof-0.9.2.gem) = FlZWZfitKKBKyObGa2fqNCIPud0=
|
||||
SHA256 (ruby-prof-0.9.2.gem) = eFVQ4EUb8PooDeqDdWDXMnrYtJbk+nzxNo2MRtogDUg=
|
||||
SIZE (ruby-prof-0.9.2.gem) = 202240
|
||||
MD5 (ruby-prof-0.10.6.gem) = tiyDDUWDZILOWtm7OSjcZQ==
|
||||
RMD160 (ruby-prof-0.10.6.gem) = clk+2riqdwLYke4AkTecLGGdNic=
|
||||
SHA1 (ruby-prof-0.10.6.gem) = cZG8Wkwq0IyeEnowP7fk1AIxSkQ=
|
||||
SHA256 (ruby-prof-0.10.6.gem) = VuD7Ca0nneYjwCOnBMozNZTT0RVWZleDG7SC9wGtEyw=
|
||||
SIZE (ruby-prof-0.10.6.gem) = 202240
|
||||
|
15
devel/ruby-prof/patches/patch-ext_ruby_prof_extconf_rb
Normal file
15
devel/ruby-prof/patches/patch-ext_ruby_prof_extconf_rb
Normal file
@ -0,0 +1,15 @@
|
||||
$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('.', ''))
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/20 18:07:39 jeremy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/05/11 23:39:02 jeremy Exp $
|
||||
${GEM_BIN}/ruby-prof${GEM_BIN_SUFFIX}
|
||||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
@ -75,8 +75,6 @@ ${GEM_LIB}/gems/${DISTNAME}/rails/example/example_test.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/rails/profile_test_helper.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/aggregate_test.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/bad.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/basic2_test.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/basic_test.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/current_failures_windows
|
||||
${GEM_LIB}/gems/${DISTNAME}/test/do_nothing.rb
|
||||
|
Loading…
x
Reference in New Issue
Block a user