mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
1 changed files with 7 additions and 0 deletions
|
@ -165,6 +165,13 @@ (define-public ledger
|
|||
#:make-flags (list "ARGS=-E BaselineTest_cmd-org")
|
||||
#: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
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((examples (string-append (assoc-ref outputs "out")
|
||||
|
|
Loading…
Reference in a new issue