From 061ffcf2ad98f82816e1bde568d0bcd4fb73eae0 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Mon, 26 Oct 2020 13:49:08 +0100 Subject: gnu: boost: Move conditional configure fix for the Hurd inline. * gnu/packages/boost.scm (boost)[arguments]: Inline configure substitution for the Hurd. --- gnu/packages/boost.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 709b10fba0..fcadc03dd0 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -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) -- cgit v1.2.3