unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: 01/01: gnu: gpm: Fix build.
Date: Mon, 04 Sep 2017 16:29:19 -0400	[thread overview]
Message-ID: <87shg2nr6o.fsf@netris.org> (raw)
In-Reply-To: <20170904193628.A7C1220950@vcs0.savannah.gnu.org> (Efraim Flashner's message of "Mon, 4 Sep 2017 15:36:28 -0400 (EDT)")

efraim@flashner.co.il (Efraim Flashner) writes:

> efraim pushed a commit to branch master
> in repository guix.
>
> commit 77bb6c227b441277e48d6e2071cca3b801f53374
> Author: Efraim Flashner <efraim@flashner.co.il>
> 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	other threads:[~2017-09-04 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170904193627.26984.31087@vcs0.savannah.gnu.org>
     [not found] ` <20170904193628.A7C1220950@vcs0.savannah.gnu.org>
2017-09-04 20:29   ` Mark H Weaver [this message]
2017-09-05  8:28     ` 01/01: gnu: gpm: Fix build Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shg2nr6o.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).