guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 01/01: gnu: gpm: Fix build.


From: Mark H Weaver
Subject: Re: 01/01: gnu: gpm: Fix build.
Date: Mon, 04 Sep 2017 16:29:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

address@hidden (Efraim Flashner) writes:

> efraim pushed a commit to branch master
> in repository guix.
>
> commit 77bb6c227b441277e48d6e2071cca3b801f53374
> Author: Efraim Flashner <address@hidden>
> Date:   Mon Sep 4 22:35:25 2017 +0300
>
>     gnu: gpm: Fix build.
>     
>     * gnu/packages/linux.scm (gpm)[arguments]: Patch autogen.sh shebang
>     during the 'boottstrap phase.
> ---
>  gnu/packages/linux.scm | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 3975c94..245b36f 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -3126,6 +3126,8 @@ write access to exFAT devices.")
>                      (lambda _
>                        ;; The tarball was not generated with 'make dist' so we
>                        ;; need to bootstrap things ourselves.
> +                      (substitute* "autogen.sh"
> +                        (("/bin/sh") (which "sh")))
>                        (and (zero? (system* "./autogen.sh"))

Another way to fix this kind of problem, and IMO the preferable way, is
to change

  (system* "./autogen.sh")

to

  (system* "sh" "autogen.sh")

       Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]