mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: qoauth: Fix build failure.
Fixes <https://bugs.gnu.org/45031>. Reported by Distopico <distopico@riseup.net>. * gnu/packages/web.scm (qoauth)[arguments]: Add phase 'adjust-mkspecs-directory'.
This commit is contained in:
parent
63be1a7dae
commit
627b70e3ac
1 changed files with 8 additions and 0 deletions
|
@ -1071,6 +1071,14 @@ (define-public qoauth
|
|||
(substitute* "src/src.pro"
|
||||
(("/lib64") "/lib"))
|
||||
#t))
|
||||
(add-after 'unpack 'adjust-mkspecs-directory
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* "src/src.pro"
|
||||
;; Do not attempt to install the .prf file into qtbase
|
||||
;; "lib/mkspecs/features", ref <https://bugs.gnu.org/45301>.
|
||||
(("\\$\\$\\[QMAKE_MKSPECS\\]")
|
||||
(string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
|
||||
#t))
|
||||
(delete 'configure) ; no configure script
|
||||
(delete 'check) ; no test target
|
||||
(add-before 'build 'qmake
|
||||
|
|
Loading…
Reference in a new issue