aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-05-15 23:39:44 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-05-15 23:39:44 +0200
commit6d225e89dbd67a3365005c2e3f8d095ef01a29c3 (patch)
tree347a2d453bdacb6823f2058a042039bb3df6d1c9 /gnu
parent3ad9039515f62cebdc07b6a6635c3672dfe67604 (diff)
downloadguix-6d225e89dbd67a3365005c2e3f8d095ef01a29c3.tar.gz
guix-6d225e89dbd67a3365005c2e3f8d095ef01a29c3.zip
gnu: antlr2: Minor stylistic changes.
* gnu/packages/java.scm (antlr2)[source]: Fix indentation; end snippet on #t; add comment next to disabled tests.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index cc57158d3c..4a381b6a1c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3110,14 +3110,15 @@ This is a part of the Apache Commons Project.")
(substitute* "lib/cpp/antlr/CharScanner.hpp"
(("#include <map>")
(string-append
- "#include <map>\n"
- "#define EOF (-1)\n"
- "#include <strings.h>")))
+ "#include <map>\n"
+ "#define EOF (-1)\n"
+ "#include <strings.h>")))
(substitute* "configure"
- (("/bin/sh") "sh"))))))
+ (("/bin/sh") "sh"))
+ #t))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f
+ `(#:tests? #f ; no test target
#:imported-modules ((guix build ant-build-system)
(guix build syscalls)
,@%gnu-build-system-modules)