gnu: gpm: Fix build.

* gnu/packages/linux.scm (gpm)[arguments]: Patch autogen.sh shebang
during the 'boottstrap phase.
This commit is contained in:
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

View file

@ -3126,6 +3126,8 @@ (define-public gpm
(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")