Subject: [bug#75032] [PATCH 11/13] gnu: pari-gp: Use G-Expressions.

From: Vinicius Monego <[email-masked]>
Date: Sun, 22 Dec 2024 17:26:55 +0000

From: vicvbcun <[email-masked]>

* gnu/packages/algebra.scm (pari-gp)[arguments]: Use G-Expressions.  Unset
make-flags.

Change-Id: Id2be46acd67b474d6fdb8935070ffb243e87f920
Co-authored by: Vinicius Monego <[email-masked]>

Change-Id: I7be07998e9e2d1fe9194d4af6a57537467f5e097
---
 gnu/packages/algebra.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 4d7b4001cd..32834f1c15 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -245,16 +245,15 @@ (define-public pari-gp
     (native-inputs (list (texlive-updmap.cfg)))
     (inputs (list gmp libx11 perl readline))
     (arguments
-     '(#:make-flags '("all")
-       #:test-target "dobench"
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'configure
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "./Configure"
-                     "--mt=pthread"
-                     (string-append "--prefix="
-                                    (assoc-ref outputs "out"))))))))
+     (list
+      #:test-target "dobench"
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _
+              (invoke "./Configure"
+                      "--mt=pthread"
+                      (string-append "--prefix=" #$output)))))))
     (synopsis "PARI/GP, a computer algebra system for number theory")
     (description
      "PARI/GP is a widely used computer algebra system designed for fast
-- 
2.39.5