openbsd-ports/devel/ruby-rake-compiler/patches/patch-tasks_bin_cross-ruby_rake
2010-12-21 17:15:14 +00:00

17 lines
619 B
Plaintext

$OpenBSD: patch-tasks_bin_cross-ruby_rake,v 1.2 2010/12/21 17:15:14 jeremy Exp $
Don't have it accidently use gmake, because the makefiles
created can use BSD make extensions.
--- tasks/bin/cross-ruby.rake.orig Fri Dec 10 12:16:03 2010
+++ tasks/bin/cross-ruby.rake Fri Dec 10 12:16:26 2010
@@ -33,7 +33,7 @@ end
require 'rake/extensioncompiler'
-MAKE = ENV['MAKE'] || %w[gmake make].find { |c| system("#{c} -v > /dev/null 2>&1") }
+MAKE = ENV['MAKE'] || '${MAKE_PROGRAM}'
USER_HOME = File.expand_path("~/.rake-compiler")
RUBY_CC_VERSION = "ruby-#{ENV['VERSION'] || '1.8.6-p398'}"
RUBY_SOURCE = ENV['SOURCE']