mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01: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 @@ line client and a client based on Qt.")
|
|||
#: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