mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: xdotool: Use 'modify-phases'.
* gnu/packages/xdisorg.scm (xdotool)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
a0cbf1b9bf
commit
c237480b0c
1 changed files with 8 additions and 8 deletions
|
@ -182,14 +182,14 @@ (define-public xdotool
|
|||
(arguments
|
||||
'(#:tests? #f ; Test suite requires a lot of black magic
|
||||
#:phases
|
||||
(alist-replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
||||
(setenv "PREFIX" (assoc-ref outputs "out"))
|
||||
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
||||
(assoc-ref
|
||||
%outputs "out") "/lib"))
|
||||
(setenv "CC" "gcc"))
|
||||
%standard-phases)))
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
||||
(setenv "PREFIX" (assoc-ref outputs "out"))
|
||||
(setenv "LDFLAGS"
|
||||
(string-append "-Wl,-rpath="
|
||||
(assoc-ref %outputs "out") "/lib"))
|
||||
(setenv "CC" "gcc"))))))
|
||||
(native-inputs `(("perl" ,perl))) ; for pod2man
|
||||
(inputs `(("libx11" ,libx11)
|
||||
("libxext" ,libxext)
|
||||
|
|
Loading…
Reference in a new issue