openbsd-ports/lang/jruby/patches/patch-jruby-launcher_extconf_rb
jeremy 01167105dc Update to JRuby 9.0.0.0
Bump jdk dependency to 1.8.0

Help and OK jasper@
2015-07-26 04:40:16 +00:00

11 lines
597 B
Plaintext

$OpenBSD: patch-jruby-launcher_extconf_rb,v 1.2 2015/07/26 04:40:16 jeremy Exp $
--- jruby-launcher/extconf.rb.orig Tue May 22 10:27:56 2012
+++ jruby-launcher/extconf.rb Tue May 22 10:29:07 2012
@@ -3,5 +3,6 @@ require 'rbconfig'
mf = File.read('Makefile')
mf = mf.gsub(/^BINDIR\s*=.*$/, "BINDIR = #{Config::CONFIG['bindir']}")
mf = mf.gsub(/^PREFIX\s*=.*$/, "PREFIX = #{File.dirname(Config::CONFIG['libdir'])}")
+mf = mf.gsub(/^INSTALLDIR\s*=.*$/, "INSTALLDIR = #{File.dirname(Config::CONFIG['libdir'])}/lib/ruby/stdlib/rubygems/defaults")
puts mf
File.open('Makefile', 'wb') {|f| f << mf}