From 08595262db960b6e680460189bfcfbdac4196b76 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Thu, 24 Mar 2016 14:44:08 +0100 Subject: gnu: pari-gp: Syntactic changes. * gnu/packages/algebra.scm (pari-gp)[arguments]: Use modify-phases syntax. --- gnu/packages/algebra.scm | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 11fb460df5..0b291106ad 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -133,17 +133,14 @@ solve the shortest vector problem.") ("readline" ,readline))) (arguments '(#:make-flags '("all") - ;; FIXME: building the documentation requires tex; once this is - ;; available, replace "gp" by "all" #:test-target "dobench" - #:phases - (alist-replace - 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (zero? - (system* "./Configure" (string-append "--prefix=" out))))) - %standard-phases))) + #:phases (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (zero? + (system* "./Configure" + (string-append "--prefix=" out))))))))) (synopsis "PARI/GP, a computer algebra system for number theory") (description "PARI/GP is a widely used computer algebra system designed for fast -- cgit v1.2.3