gnu: gpm: Fix build.

* gnu/packages/linux.scm (gpm)[arguments]: Patch autogen.sh shebang
during the 'boottstrap phase.
master
Efraim Flashner 2017-09-04 22:35:25 +03:00
parent b82c63d013
commit 77bb6c227b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 0 deletions

View File

@ -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")