gnu: libantlr3c: Use G-Expression.

gnu/packages/java.scm (libantlr3c)[arguments]: Use G-Expression.

Change-Id: If280b345a9c86ddccb0614a124ff8b2215b8648c
This commit is contained in:
Zheng Junjie 2025-01-26 12:19:44 +08:00
parent 4d0f5e1345
commit b213b0d360
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -21,6 +21,7 @@
;;; Copyright © 2022, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2022, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com> ;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com>
;;; Copyright © 2025 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -2187,14 +2188,15 @@ build process and its dependencies, whereas Make uses Makefile format.")
(base32 "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa")))) (base32 "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags (list "--enable-debuginfo" (list #:configure-flags
"--disable-static" #~(list "--enable-debuginfo"
,@(if (target-64bit?) "--disable-static"
`("--enable-64bit") #$@(if (target-64bit?)
'()) #~("--enable-64bit")
,@(if (target-riscv64?) #~())
`("--disable-abiflags") #$@(if (target-riscv64?)
'())))) #~("--disable-abiflags")
#~()))))
(synopsis "ANTLR C Library") (synopsis "ANTLR C Library")
(description "LIBANTLR3C provides run-time C libraries for ANTLR3 (ANother (description "LIBANTLR3C provides run-time C libraries for ANTLR3 (ANother
Tool for Language Recognition v3).") Tool for Language Recognition v3).")