From 77bb6c227b441277e48d6e2071cca3b801f53374 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 4 Sep 2017 22:35:25 +0300 Subject: [PATCH] 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 3975c94612..245b36f2c6 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")) (begin (patch-makefile-SHELL "Makefile.include.in")