[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: bc: Use 'modify-phases' syntax.
From: |
Efraim Flashner |
Subject: |
05/06: gnu: bc: Use 'modify-phases' syntax. |
Date: |
Mon, 17 Apr 2017 23:39:17 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit ecc5bc33a347b8f1792414abb43d1170f0b4dd1e
Author: Efraim Flashner <address@hidden>
Date: Sun Apr 16 19:20:41 2017 +0300
gnu: bc: Use 'modify-phases' syntax.
* gnu/packages/algebra.scm (bc)[arguments]: Use 'modify-phases' syntax.
---
gnu/packages/algebra.scm | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 98bb2ae..1f34e86 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
;;; Copyright © 2014 Mark H Weaver <address@hidden>
;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2017 Efraim Flashner <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -479,22 +480,22 @@ binary.")
(native-inputs `(("flex" ,flex)))
(arguments
'(#:phases
- (alist-replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- ;; This old `configure' script doesn't support
- ;; variables passed as arguments.
- (let ((out (assoc-ref outputs "out")))
- (setenv "CONFIG_SHELL" (which "bash"))
- (zero?
- (system*
- "./configure"
- (string-append "--prefix=" out)
- ;; By default, man and info pages are put in
- ;; PREFIX/{man,info}, but we want them in
- ;; PREFIX/share/{man,info}.
- (string-append "--mandir=" out "/share/man")
- (string-append "--infodir=" out "/share/info")))))
- %standard-phases)))
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; This old `configure' script doesn't support
+ ;; variables passed as arguments.
+ (let ((out (assoc-ref outputs "out")))
+ (setenv "CONFIG_SHELL" (which "bash"))
+ (zero?
+ (system*
+ "./configure"
+ (string-append "--prefix=" out)
+ ;; By default, man and info pages are put in
+ ;; PREFIX/{man,info}, but we want them in
+ ;; PREFIX/share/{man,info}.
+ (string-append "--mandir=" out "/share/man")
+ (string-append "--infodir=" out "/share/info")))))))))
(home-page "https://www.gnu.org/software/bc/")
(synopsis "Arbitrary precision numeric processing language")
(description
- branch core-updates updated (b100e0e -> a55fbab), Efraim Flashner, 2017/04/17
- 01/06: gnu: less: Update to 487., Efraim Flashner, 2017/04/17
- 02/06: gnu: libsigsegv: Update to 2.11., Efraim Flashner, 2017/04/17
- 03/06: gnu: libsigsegv: Use 'modify-phases' syntax., Efraim Flashner, 2017/04/17
- 06/06: gnu: libiconv: Update to 1.15., Efraim Flashner, 2017/04/17
- 04/06: gnu: libgpg-error: Update to 1.27., Efraim Flashner, 2017/04/17
- 05/06: gnu: bc: Use 'modify-phases' syntax.,
Efraim Flashner <=