gnu: ledger: Fix build with Boost >= 1.68.
* gnu/packages/finance.scm (ledger)[arguments]: Add phase 'boost-compat.
This commit is contained in:
parent
f028823c0f
commit
68f2e55206
|
@ -165,6 +165,13 @@ line client and a client based on Qt.")
|
||||||
#:make-flags (list "ARGS=-E BaselineTest_cmd-org")
|
#:make-flags (list "ARGS=-E BaselineTest_cmd-org")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'boost-compat
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/utils.h"
|
||||||
|
;; This library moved in Boost 1.66. Remove for Ledger
|
||||||
|
;; versions > 3.1.1.
|
||||||
|
(("boost/uuid/sha1.hpp") "boost/uuid/detail/sha1.hpp"))
|
||||||
|
#t))
|
||||||
(add-before 'configure 'install-examples
|
(add-before 'configure 'install-examples
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((examples (string-append (assoc-ref outputs "out")
|
(let ((examples (string-append (assoc-ref outputs "out")
|
||||||
|
|
Loading…
Reference in New Issue