[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: perl: Use 'modify-phases'.
From: |
Ludovic Courtès |
Subject: |
03/08: gnu: perl: Use 'modify-phases'. |
Date: |
Thu, 04 Jun 2015 16:08:39 +0000 |
civodul pushed a commit to branch core-updates
in repository guix.
commit f683d67d66786efe003f6431a471aa7b36dcf7fa
Author: Ludovic Courtès <address@hidden>
Date: Thu Jun 4 11:13:54 2015 +0200
gnu: perl: Use 'modify-phases'.
* gnu/packages/perl.scm (perl)[arguments]: Use 'modify-phases' instead of
'alist-replace'.
---
gnu/packages/perl.scm | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 80c476b..5ace05d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -51,28 +51,28 @@
(arguments
'(#:tests? #f
#:phases
- (alist-replace
- 'configure
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (libc (assoc-ref inputs "libc")))
- ;; Use the right path for `pwd'.
- (substitute* "dist/Cwd/Cwd.pm"
- (("/bin/pwd")
- (which "pwd")))
-
- (zero?
- (system* "./Configure"
- (string-append "-Dprefix=" out)
- (string-append "-Dman1dir=" out "/share/man/man1")
- (string-append "-Dman3dir=" out "/share/man/man3")
- "-de" "-Dcc=gcc"
- "-Uinstallusrbinperl"
- "-Dinstallstyle=lib/perl5"
- "-Duseshrplib"
- (string-append "-Dlocincpth=" libc "/include")
- (string-append "-Dloclibpth=" libc "/lib")))))
- %standard-phases)))
+ (modify-phases %standard-phases
+ (replace
+ 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (libc (assoc-ref inputs "libc")))
+ ;; Use the right path for `pwd'.
+ (substitute* "dist/Cwd/Cwd.pm"
+ (("/bin/pwd")
+ (which "pwd")))
+
+ (zero?
+ (system* "./Configure"
+ (string-append "-Dprefix=" out)
+ (string-append "-Dman1dir=" out "/share/man/man1")
+ (string-append "-Dman3dir=" out "/share/man/man3")
+ "-de" "-Dcc=gcc"
+ "-Uinstallusrbinperl"
+ "-Dinstallstyle=lib/perl5"
+ "-Duseshrplib"
+ (string-append "-Dlocincpth=" libc "/include")
+ (string-append "-Dloclibpth=" libc "/lib")))))))))
(native-search-paths (list (search-path-specification
(variable "PERL5LIB")
(files '("lib/perl5/site_perl")))))
- branch core-updates updated (20a9466 -> 8d866b9), Ludovic Courtès, 2015/06/04
- 01/08: gnu: gawk: Update to 4.1.3., Ludovic Courtès, 2015/06/04
- 04/08: gnu: perl: Strip the DSOs., Ludovic Courtès, 2015/06/04
- 03/08: gnu: perl: Use 'modify-phases'.,
Ludovic Courtès <=
- 05/08: gnu: findutils: Use /var as the localstatedir, for 'updatedb'., Ludovic Courtès, 2015/06/04
- 06/08: gnu: linux-libre-headers: Do not retain reference to the bootstrap tools., Ludovic Courtès, 2015/06/04
- 02/08: gnu: gcc: Move patch upstream status in the patch itself., Ludovic Courtès, 2015/06/04
- 07/08: gnu: Switch to GCC 4.9 as the default compiler., Ludovic Courtès, 2015/06/04
- 08/08: gnu: Switch to GCC 4.9 as the default cross-compiler., Ludovic Courtès, 2015/06/04