gnu: xdotool: Use 'modify-phases'.

* gnu/packages/xdisorg.scm (xdotool)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner 2016-08-19 23:15:37 +03:00
parent a0cbf1b9bf
commit c237480b0c
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 8 additions and 8 deletions

View File

@ -182,14 +182,14 @@ X11 (yet).")
(arguments (arguments
'(#:tests? #f ; Test suite requires a lot of black magic '(#:tests? #f ; Test suite requires a lot of black magic
#:phases #:phases
(alist-replace 'configure (modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys #:rest args) (lambda* (#:key outputs #:allow-other-keys #:rest args)
(setenv "PREFIX" (assoc-ref outputs "out")) (setenv "PREFIX" (assoc-ref outputs "out"))
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" (setenv "LDFLAGS"
(assoc-ref (string-append "-Wl,-rpath="
%outputs "out") "/lib")) (assoc-ref %outputs "out") "/lib"))
(setenv "CC" "gcc")) (setenv "CC" "gcc"))))))
%standard-phases)))
(native-inputs `(("perl" ,perl))) ; for pod2man (native-inputs `(("perl" ,perl))) ; for pod2man
(inputs `(("libx11" ,libx11) (inputs `(("libx11" ,libx11)
("libxext" ,libxext) ("libxext" ,libxext)