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
parent
63be1a7dae
commit
627b70e3ac
|
@ -1071,6 +1071,14 @@ instances, while JSON's objects will be mapped to @code{QVariantMap}.")
|
||||||
(substitute* "src/src.pro"
|
(substitute* "src/src.pro"
|
||||||
(("/lib64") "/lib"))
|
(("/lib64") "/lib"))
|
||||||
#t))
|
#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 'configure) ; no configure script
|
||||||
(delete 'check) ; no test target
|
(delete 'check) ; no test target
|
||||||
(add-before 'build 'qmake
|
(add-before 'build 'qmake
|
||||||
|
|
Reference in New Issue