mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: lirc: Fix building on Ubuntu.
* gnu/packages/lirc.scm (lirc)[arguments]: Add ‘disable-kernel-sniffing’ phase.
This commit is contained in:
parent
07cabcb156
commit
794cced614
1 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,13 @@ (define-public lirc
|
|||
'(#:configure-flags '("--localstatedir=/var")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-kernel-sniffing
|
||||
(lambda _
|
||||
;; Correct the faulty assumption that systemd support should be
|
||||
;; hard-wired when a build host's /proc/version contains "Ubuntu".
|
||||
(substitute* "configure"
|
||||
(("kernelversion=.*") "kernelversion=irrelevant\n"))
|
||||
#t))
|
||||
(add-after 'unpack 'patch-lirc-make-devinput
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; 'lirc-make-devinput' script assumes that linux headers
|
||||
|
|
Loading…
Reference in a new issue