summaryrefslogtreecommitdiff
path: root/lang/abcl
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
parent1f8019ee3f0bc1565e7e0eba125e73f55dbb0b0a (diff)
downloadpkgsrc-3175ff2e9d5dd30427c8af33b8f5524fc70ff631.tar.gz
Fix build for Java 1.8.
Diffstat (limited to 'lang/abcl')
-rw-r--r--lang/abcl/distinfo3
-rw-r--r--lang/abcl/patches/patch-build.xml31
2 files changed, 33 insertions, 1 deletions
diff --git a/lang/abcl/distinfo b/lang/abcl/distinfo
index 88584422764..af1a0839cca 100644
--- a/lang/abcl/distinfo
+++ b/lang/abcl/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2017/09/16 11:48:30 asau Exp $
+$NetBSD: distinfo,v 1.10 2018/10/10 21:55:20 rjs Exp $
SHA1 (abcl-src-1.5.0.tar.gz) = 7543f68cf2661a1668361d3d2f8efed979100a3d
RMD160 (abcl-src-1.5.0.tar.gz) = 65a787ca2015b6de457789c096689225505e4834
SHA512 (abcl-src-1.5.0.tar.gz) = d56c23a82103dfebb3361903af096f923738008e551f3b5e07e00f0423c8ade0b07a388b7834b5d79d9191863b38db2c17fa27bffd848d7cba88d6bb67e32db3
Size (abcl-src-1.5.0.tar.gz) = 1187678 bytes
+SHA1 (patch-build.xml) = 6def6a61011a94a33a5a1627f8628bd3986e993c
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"/>