mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: w3m: Use 'modify-phases' syntax.
* gnu/packages/w3m.scm (w3m)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
ee7518a009
commit
83a3e805be
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
||||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
||||||
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -48,14 +49,15 @@
|
||||||
(base32
|
(base32
|
||||||
"142vkkmsk76wj9w6r4y2pa1hmy1kkzmc73an9zchx0ikm2z92x6s"))))
|
"142vkkmsk76wj9w6r4y2pa1hmy1kkzmc73an9zchx0ikm2z92x6s"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments `(#:tests? #f ; no check target
|
(arguments
|
||||||
#:phases (alist-cons-before
|
'(#:tests? #f ; no check target
|
||||||
'configure 'fix-perl
|
#:phases
|
||||||
(lambda _
|
(modify-phases %standard-phases
|
||||||
(substitute* '("scripts/w3mmail.cgi.in"
|
(add-before 'configure 'fix-perl
|
||||||
"scripts/dirlist.cgi.in")
|
(lambda _ (substitute* '("scripts/w3mmail.cgi.in"
|
||||||
(("@PERL@") (which "perl"))))
|
"scripts/dirlist.cgi.in")
|
||||||
%standard-phases)))
|
(("@PERL@") (which "perl")))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libgc" ,libgc)
|
`(("libgc" ,libgc)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
|
|
Loading…
Reference in a new issue