From 570f3b63709717a97a4a4501a6135e2c1f18bcdf Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 13 Nov 2019 22:18:28 +0100 Subject: gnu: antlr3: Fix building after changes in ant-build-system. * gnu/packages/java.scm (antlr3, antlr3-3.1, antlr3-3.3): Fix copying resources causing an error message later in the bootstrap chain. --- gnu/packages/java.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 75eee9e967..4734bba68c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6742,14 +6742,16 @@ import org.antlr.grammar.v3.ANTLRTreePrinter;")) (add-before 'build 'fix-build-xml (lambda _ (substitute* "build.xml" - ((" + (("target name=\"compile\">") + "target name=\"compile\"> + -")) #t))))) (native-inputs `(("antlr" ,antlr2) @@ -6855,14 +6857,16 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;")) (add-before 'build 'fix-build-xml (lambda _ (substitute* "build.xml" - ((" + (("target name=\"compile\">") + "target name=\"compile\"> + -")) #t))))) (native-inputs `(("antlr" ,antlr2) @@ -6874,7 +6878,7 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;")) ("antlr" ,antlr2) ("antlr3" ,antlr3-3.1))))) -(define antlr3-3.1 +(define-public antlr3-3.1 (package (inherit antlr3) (version "3.1") @@ -6932,14 +6936,16 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;")) (add-before 'build 'fix-build-xml (lambda _ (substitute* "build.xml" - ((" + (("target name=\"compile\">") + "target name=\"compile\"> + -")) #t))))) (native-inputs `(("antlr" ,antlr2))) -- cgit 1.4.1