gnu: boost: Move conditional configure fix for the Hurd inline.
* gnu/packages/boost.scm (boost)[arguments]: Inline configure substitution for the Hurd.master
parent
f602f3041e
commit
061ffcf2ad
|
@ -134,13 +134,9 @@
|
||||||
'())
|
'())
|
||||||
|
|
||||||
;; Change an #ifdef __MACH__ that really targets macOS.
|
;; Change an #ifdef __MACH__ that really targets macOS.
|
||||||
;; TODO: Inline this on the next rebuild cycle.
|
(substitute* "boost/test/utils/timer.hpp"
|
||||||
,@(if (hurd-target?)
|
(("defined\\(__MACH__\\)")
|
||||||
'((substitute* "boost/test/utils/timer.hpp"
|
"(defined __MACH__ && !defined __GNU__)"))
|
||||||
(("defined\\(__MACH__\\)")
|
|
||||||
"(defined __MACH__ && !defined __GNU__)"))
|
|
||||||
#t)
|
|
||||||
'())
|
|
||||||
|
|
||||||
(invoke "./bootstrap.sh"
|
(invoke "./bootstrap.sh"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
|
|
Reference in New Issue