me
/
guix
Archived
1
0
Fork 0

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'.
master
Marius Bakke 2020-12-08 00:28:06 +01:00
parent 63be1a7dae
commit 627b70e3ac
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 0 deletions

View File

@ -1071,6 +1071,14 @@ instances, while JSON's objects will be mapped to @code{QVariantMap}.")
(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