openbsd-ports/lang/jruby/patches/patch-jffi_custom-build_xml
jeremy b53b55b831 Update lang/jruby from 1.3.1 to 1.5.3. Numerous improvements including
performance increases and ruby 1.8.7 support. ffi support now works in
simple cases.  It now works on amd64 as well.  I'm taking over
maintenance from bernd@.

ok landry
2010-10-28 01:45:44 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-jffi_custom-build_xml,v 1.1 2010/10/28 01:45:44 jeremy Exp $
--- jffi/custom-build.xml.orig Thu Oct 21 04:54:59 2010
+++ jffi/custom-build.xml Thu Oct 21 04:55:11 2010
@@ -8,7 +8,7 @@
<property name="build.native.dir" location="${build.dir}/jni"/>
<property name="src.native.dir" location="jni"/>
<property name="complete.jar" value="${dist.dir}/jffi-complete.jar"/>
- <property name="ant.build.javac.target" value="1.5"/>
+ <property name="ant.build.javac.target" value="1.7"/>
<mkdir dir="${build.native.dir}"/>
<!-- normalize the various os.arch naming conventions -->
@@ -71,7 +71,7 @@
</condition>
</target>
<target name="-generate-version" depends="init,-init-vars,-generate-version-source">
- <javac target="1.5" destdir="${build.classes.dir}" srcdir="${build.dir}/java"/>
+ <javac target="1.7" destdir="${build.classes.dir}" srcdir="${build.dir}/java"/>
</target>
<target name="-generate-native-headers" depends="-init-vars,-generate-version,-compile-java">
<mkdir dir="${build.native.dir}"/>