gnu: qt: Use modify-phases syntax.

* gnu/packages/qt.scm (qt): Use modify-phases syntax.
master
Andreas Enge 2016-07-29 14:34:43 +02:00
parent 7972d8a2e9
commit cce28b0c3a
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 39 additions and 40 deletions

View File

@ -151,8 +151,8 @@
;; A more structural fix is needed. ;; A more structural fix is needed.
#:parallel-build? #f #:parallel-build? #f
#:phases #:phases
(alist-replace (modify-phases %standard-phases
'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(substitute* '("configure" "qtbase/configure") (substitute* '("configure" "qtbase/configure")
@ -189,8 +189,7 @@
"-no-avx" "-no-avx"
"-no-avx2" "-no-avx2"
"-no-mips_dsp" "-no-mips_dsp"
"-no-mips_dspr2")))) "-no-mips_dspr2"))))))))
%standard-phases)))
(home-page "http://qt-project.org/") (home-page "http://qt-project.org/")
(synopsis "Cross-platform GUI library") (synopsis "Cross-platform GUI library")
(description "Qt is a cross-platform application and UI framework for (description "Qt is a cross-platform application and UI framework for