pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/abcl Fix build for Java 1.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f683a5b4608
branches:  trunk
changeset: 313821:6f683a5b4608
user:      rjs <rjs%pkgsrc.org@localhost>
date:      Wed Oct 10 21:55:20 2018 +0000

description:
Fix build for Java 1.8.

diffstat:

 lang/abcl/distinfo                |   3 ++-
 lang/abcl/patches/patch-build.xml |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (47 lines):

diff -r 53adeb213487 -r 6f683a5b4608 lang/abcl/distinfo
--- a/lang/abcl/distinfo        Wed Oct 10 20:10:31 2018 +0000
+++ b/lang/abcl/distinfo        Wed Oct 10 21:55:20 2018 +0000
@@ -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 -r 53adeb213487 -r 6f683a5b4608 lang/abcl/patches/patch-build.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/abcl/patches/patch-build.xml Wed Oct 10 21:55:20 2018 +0000
@@ -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"/>



Home | Main Index | Thread Index | Old Index