all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Raghav Gururajan" <raghavgururajan@disroot.org>
To: 40291@debbugs.gnu.org
Subject: [bug#40291] gnu: Add libantlr3c (v2)
Date: Thu, 02 Apr 2020 04:09:43 +0000	[thread overview]
Message-ID: <e471618c2ed050e163a5245520546cae@disroot.org> (raw)
In-Reply-To: <e2db9638cefebba4974a310fdb63334d@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #2: libantlr3c-v2.patch --]
[-- Type: application/octet-stream, Size: 2438 bytes --]

From 8d902fb82ee830f99bed054dc5915ba2026b3b39 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Thu, 2 Apr 2020 00:07:29 -0400
Subject: [PATCH 20/20] gnu: Add libantlr3c

* gnu/packages/java.scm (libantlr3c): New variable.
---
 gnu/packages/java.scm | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4d305aac49..be09cbd2e7 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -122,27 +122,13 @@
         (base32 "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags (list "--enable-debuginfo" "--disable-static")
-       #:phases (modify-phases %standard-phases
-                  (replace 'configure
-                    (lambda* (#:key build target native-inputs inputs outputs
-                              (configure-flags '()) out-of-source? system
-                              #:allow-other-keys)
-                      (let ((configure (assoc-ref %standard-phases 'configure))
-                            (enable-64bit? (member system '("aarch64-linux"
-                                                            "x86_64-linux"
-                                                            "mips64el-linux"))))
-                        (configure #:build build #:target target
-                                   #:native-inputs native-inputs
-                                   #:inputs inputs #:outputs outputs
-                                   #:configure-flags `(,(if enable-64bit?
-                                                            "--enable-64bit"
-                                                            '())
-                                                       ,@configure-flags)
-                                   #:out-of-source? out-of-source?)))))))
+     `(#:configure-flags
+       (list
+        "--enable-64bit"                ; Missing stubs-32.h
+        "--disable-static")))           ; Not required
     (synopsis "ANTLR C Library")
-    (description "LIBANTLR3C provides run-time C libraries for ANTLR3 (ANother
-Tool for Language Recognition v3).")
+    (description "LIBANTLR3C provides run-time C libraries for ANTLR3
+(ANother Tool for Language Recognition v3).")
     (home-page "https://www.antlr3.org/")
     (license license:bsd-3)))
 
-- 
2.26.0


      parent reply	other threads:[~2020-04-02  4:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28 18:24 [bug#40291] gnu: packages: java: Add libantlr3c Raghav Gururajan
2020-03-31  4:53 ` Maxim Cournoyer
2020-04-01  2:37   ` bug#40291: " Maxim Cournoyer
2020-04-02  4:09 ` Raghav Gururajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e471618c2ed050e163a5245520546cae@disroot.org \
    --to=raghavgururajan@disroot.org \
    --cc=40291@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.