gnu: qtwebengine: Fix build with Ninja >= 1.10.
* gnu/packages/qt.scm (qtwebengine)[arguments]: Add phase 'patch-ninja-version-check'.
This commit is contained in:
parent
155aaca7fe
commit
c7eec67a93
1 changed files with 8 additions and 0 deletions
|
@ -1799,6 +1799,14 @@ (define (delete-unwanted-files child stat flag base level)
|
|||
(substitute-keyword-arguments (package-arguments qtsvg)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'patch-ninja-version-check
|
||||
(lambda _
|
||||
;; The build system assumes the system Ninja is too old because
|
||||
;; it only checks for versions 1.7 through 1.9. We have 1.10.
|
||||
(substitute* "configure.pri"
|
||||
(("1\\.\\[7-9\\]\\.\\*")
|
||||
"1.([7-9]|1[0-9]).*"))
|
||||
#t))
|
||||
(add-before 'configure 'substitute-source
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue