openbsd-ports/lang/jruby/patches/patch-build_xml
jeremy d23f1df8b3 Update jruby to 1.6.0. This version adds ruby 1.9 syntax support,
as well as experimental C extension support, and many other
significant new features.

Bump required memory to 384MB, should fix occassional memory
errors when building.

Use the jruby-complete.jar instead of the jruby.jar, seems
to be necessary for C extension support to work correctly.

RSpec is no longer bundled.  Additionally, the extra 1.5.3
distfile is no longer needed as the changes have been included
upstream.

OK landry@
2011-03-18 23:01:22 +00:00

15 lines
896 B
Plaintext

$OpenBSD: patch-build_xml,v 1.1 2011/03/18 23:01:22 jeremy Exp $
--- build.xml.orig Fri Mar 18 12:24:56 2011
+++ build.xml Fri Mar 18 12:25:15 2011
@@ -192,8 +192,8 @@
<attribute name="tzdata-version" default="${tzdata.distributed.version}"/>
<sequential>
<echo message="Updating constants with tzdata version @{tzdata-version}"/>
- <exec osfamily="unix" executable="git" outputproperty="jruby.revision" failonerror="false" failifexecutionfails="false">
- <arg line="log -1 --format=format:%h"/>
+ <exec osfamily="unix" executable="echo" outputproperty="jruby.revision" failonerror="false" failifexecutionfails="false">
+ <arg line="-n"/>
</exec>
<exec osfamily="windows" executable="cmd" outputproperty="jruby.revision" failonerror="false" failifexecutionfails="false">
<arg line="/c git log -1 --format=format:%h"/>