mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: boost: Move conditional configure fix for the Hurd inline.
* gnu/packages/boost.scm (boost)[arguments]: Inline configure substitution for the Hurd.
This commit is contained in:
parent
f602f3041e
commit
061ffcf2ad
1 changed files with 3 additions and 7 deletions
|
@ -134,13 +134,9 @@ (define-public boost
|
|||
'())
|
||||
|
||||
;; Change an #ifdef __MACH__ that really targets macOS.
|
||||
;; TODO: Inline this on the next rebuild cycle.
|
||||
,@(if (hurd-target?)
|
||||
'((substitute* "boost/test/utils/timer.hpp"
|
||||
(("defined\\(__MACH__\\)")
|
||||
"(defined __MACH__ && !defined __GNU__)"))
|
||||
#t)
|
||||
'())
|
||||
(substitute* "boost/test/utils/timer.hpp"
|
||||
(("defined\\(__MACH__\\)")
|
||||
"(defined __MACH__ && !defined __GNU__)"))
|
||||
|
||||
(invoke "./bootstrap.sh"
|
||||
(string-append "--prefix=" out)
|
||||
|
|
Loading…
Reference in a new issue