openbsd-ports/lang/jruby/patches/patch-jffi_build_xml
jeremy 677fe6240f Update to jruby 1.7.3.
Drop support for C extensions (which were always expiremental).
Use jruby.jar instead of jruby-complete.jar, for a more typical
jruby installation.
2013-03-19 23:43:06 +00:00

24 lines
1.1 KiB
Plaintext

$OpenBSD: patch-jffi_build_xml,v 1.1 2013/03/19 23:43:06 jeremy Exp $
--- jffi/build.xml.orig Tue May 22 09:31:41 2012
+++ jffi/build.xml Tue May 22 09:32:18 2012
@@ -54,8 +54,8 @@
<property name="complete.jar" value="${dist.dir}/jffi-complete.jar"/>
<property name="build.native.dir" location="${build.dir}/jni"/>
<property name="src.native.dir" location="jni"/>
- <property name="ant.build.javac.target" value="1.5"/>
- <property name="ant.build.javac.source" value="1.5"/>
+ <property name="ant.build.javac.target" value="1.7"/>
+ <property name="ant.build.javac.source" value="1.7"/>
<property name="ant.build.javac.includeantruntime" value="false"/>
<mkdir dir="${build.native.dir}"/>
@@ -245,7 +245,7 @@
<target name="-generate-version" depends="-init,-init-vars,-generate-version-source">
- <javac target="1.5" destdir="${build.classes.dir}" srcdir="${build.dir}/java" includeantruntime="false"/>
+ <javac target="1.7" destdir="${build.classes.dir}" srcdir="${build.dir}/java" includeantruntime="false"/>
</target>
<target name="-generate-native-headers" depends="-init-vars,-generate-version,-compile-java">