From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: 27/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd. Date: Tue, 10 Mar 2020 13:45:11 +0100 Message-ID: <87lfo82xbc.fsf@gnu.org> References: <20200310075832.7126.86402@vcs0.savannah.gnu.org> <20200310075851.4497E2125F@vcs0.savannah.gnu.org> <87mu8owp76.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46415) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBeG4-0006GJ-Rm for guix-devel@gnu.org; Tue, 10 Mar 2020 08:45:17 -0400 In-Reply-To: <87mu8owp76.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 10 Mar 2020 10:10:05 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: >> + ,@(if (hurd-system?) >> + `(map >> + (lambda (f) >> + (substitute* f > > =E2=80=98substitute*=E2=80=99 accepts a list of files, so you can write i= t like this: > > (substitute* '("sysdeps/mach/hurd/Makefile" "sysdeps/mach/Makefile") > =E2=80=A6) Ah nice. Looking closer I see now that this also avoided rebuilds and conveniently splices returns a list -- changed to ;; Tell 'libpthread' where to find 'libihash' on Hurd sy= stems. ,(when (hurd-system?) '(substitute* '("sysdeps/mach/Makefile" suffering a rebuild now anyway. --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com