1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02: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:
Jan (janneke) Nieuwenhuizen
2020-10-26 13:49:08 +01:00
parent f602f3041e
commit 061ffcf2ad

View File

@@ -134,13 +134,9 @@
'())
;; 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)