mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: links: Use 'modify-phases'.
* gnu/packages/links.scm (links)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
7ddacf88ef
commit
6ea541e016
1 changed files with 17 additions and 17 deletions
|
@ -42,8 +42,9 @@ (define-public links
|
||||||
(base32 "01a4mbpvf7450ymqarjkpmzrm0z2zyd9lvqwg7x9kcd36i9hjln2"))))
|
(base32 "01a4mbpvf7450ymqarjkpmzrm0z2zyd9lvqwg7x9kcd36i9hjln2"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (alist-replace
|
`(#:phases
|
||||||
'configure
|
(modify-phases %standard-phases
|
||||||
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; The tarball uses a very old version of autconf. It doesn't
|
;; The tarball uses a very old version of autconf. It doesn't
|
||||||
;; understand extra flags like `--enable-fast-install', so
|
;; understand extra flags like `--enable-fast-install', so
|
||||||
|
@ -57,8 +58,7 @@ (define-public links
|
||||||
(zero?
|
(zero?
|
||||||
(system* "./configure"
|
(system* "./configure"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
"--enable-graphics"))))
|
"--enable-graphics"))))))))
|
||||||
%standard-phases)))
|
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
(inputs `(("zlib" ,zlib)
|
(inputs `(("zlib" ,zlib)
|
||||||
("openssl" ,openssl)
|
("openssl" ,openssl)
|
||||||
|
|
Loading…
Reference in a new issue