gnu: perl: Use 'modify-phases'.

* gnu/packages/perl.scm (perl)[arguments]: Use 'modify-phases' instead of
  'alist-replace'.
master
Ludovic Courtès 2015-06-04 11:13:54 +02:00
parent 2068559ba0
commit f683d67d66
1 changed files with 21 additions and 21 deletions

View File

@ -51,7 +51,8 @@
(arguments
'(#:tests? #f
#:phases
(alist-replace
(modify-phases %standard-phases
(replace
'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@ -71,8 +72,7 @@
"-Dinstallstyle=lib/perl5"
"-Duseshrplib"
(string-append "-Dlocincpth=" libc "/include")
(string-append "-Dloclibpth=" libc "/lib")))))
%standard-phases)))
(string-append "-Dloclibpth=" libc "/lib")))))))))
(native-search-paths (list (search-path-specification
(variable "PERL5LIB")
(files '("lib/perl5/site_perl")))))