summaryrefslogtreecommitdiff
path: root/lang/abcl/patches
diff options
context:
space:
mode:
authorrjs <rjs@pkgsrc.org>2018-10-10 21:55:20 +0000
committerrjs <rjs@pkgsrc.org>2018-10-10 21:55:20 +0000
commit3175ff2e9d5dd30427c8af33b8f5524fc70ff631 (patch)
treec759dfb5b80db793738aed4339e79f5a9cad5e9c /lang/abcl/patches
parent1f8019ee3f0bc1565e7e0eba125e73f55dbb0b0a (diff)
downloadpkgsrc-3175ff2e9d5dd30427c8af33b8f5524fc70ff631.tar.gz
Fix build for Java 1.8.
Diffstat (limited to 'lang/abcl/patches')
-rw-r--r--lang/abcl/patches/patch-build.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/abcl/patches/patch-build.xml b/lang/abcl/patches/patch-build.xml
new file mode 100644
index 00000000000..3bdac545e2f
--- /dev/null
+++ b/lang/abcl/patches/patch-build.xml
@@ -0,0 +1,31 @@
+$NetBSD: patch-build.xml,v 1.3 2018/10/10 21:55:20 rjs Exp $
+
+--- build.xml.orig 2017-06-11 10:37:36.000000000 +0000
++++ build.xml
+@@ -1,5 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <project xmlns="antlib:org.apache.tools.ant"
++ xmlns:if="ant:if"
+ name="abcl-master" default="abcl.wrapper" basedir=".">
+ <description>Compiling, testing, and packaging Armed Bear Common Lisp</description>
+
+@@ -280,6 +281,11 @@ For help on the automatic tests availabl
+ <abcl.compile.lisp/>
+ </target>
+
++ <condition property="compressedclassspace">
++ <matches string="${java.version}"
++ pattern="1\.8\.0"/>
++ </condition>
++
+ <macrodef name="abcl.compile.lisp">
+ <element name="additional.jvmarg" optional="true"/>
+ <sequential>
+@@ -299,6 +305,7 @@ from ${abcl.home.dir}
+ classname="org.armedbear.lisp.Main">
+ <jvmarg value="-Dabcl.home=${abcl.home.dir}${file.separator}"/>
+ <jvmarg value="-Dabcl.autoload.verbose=Y"/>
++ <jvmarg if:set="compressedclassspace" value="-XX:CompressedClassSpaceSize=128m"/>
+ <additional.jvmarg/>
+ <arg value="--noinit"/>
+ <arg value="--nosystem"/>