openbsd-ports/textproc/ruby-nokogiri/patches/patch-Rakefile

30 lines
666 B
Plaintext

$OpenBSD: patch-Rakefile,v 1.3 2012/06/29 16:41:53 jeremy Exp $
Allow regress tests to work.
--- Rakefile.orig Wed Dec 31 16:00:00 1969
+++ Rakefile Tue Jun 26 15:04:00 2012
@@ -47,12 +47,12 @@ HOE = Hoe.spec 'nokogiri' do
["minitest", "~> 2.2.2"],
["rake", ">= 0.9"],
["rake-compiler", "= 0.8.0"]
- ]
+ ].clear
if ! java?
self.extra_dev_deps += [
["racc", ">= 1.4.6"],
["rexical", ">= 1.0.5"]
- ]
+ ].clear
end
if java?
@@ -90,6 +90,7 @@ else
mingw_available = true
begin
require 'tasks/cross_compile'
+ raise
rescue
mingw_available = false
end