gnu: antlr2: Minor stylistic changes.
authorRicardo Wurmus <rekado@elephly.net>
Mon, 15 May 2017 21:39:44 +0000 (23:39 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Mon, 15 May 2017 21:39:44 +0000 (23:39 +0200)
* gnu/packages/java.scm (antlr2)[source]: Fix indentation; end snippet on #t;
add comment next to disabled tests.

gnu/packages/java.scm

index cc57158..4a381b6 100644 (file)
@@ -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)