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
|
@ -48,6 +48,13 @@
|
||||||
'(#:configure-flags '("--localstatedir=/var")
|
'(#:configure-flags '("--localstatedir=/var")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'unpack 'patch-lirc-make-devinput
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; 'lirc-make-devinput' script assumes that linux headers
|
;; 'lirc-make-devinput' script assumes that linux headers
|
||||||
|
|
Loading…
Reference in New Issue