diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2017-06-26 16:06:08 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2017-06-26 16:35:56 +0200 |
commit | 794cced614fd5e0800b478b4a1735f861fa8a5e2 (patch) | |
tree | 90f3d247f208ddd397e43f9f23c485f4ac22bcc9 /gnu/packages/lirc.scm | |
parent | 07cabcb1562d0f134a1195f1c126f4d60f1dae3d (diff) | |
download | gnu-guix-794cced614fd5e0800b478b4a1735f861fa8a5e2.tar gnu-guix-794cced614fd5e0800b478b4a1735f861fa8a5e2.tar.gz |
gnu: lirc: Fix building on Ubuntu.
* gnu/packages/lirc.scm (lirc)[arguments]: Add ‘disable-kernel-sniffing’
phase.
Diffstat (limited to 'gnu/packages/lirc.scm')
-rw-r--r-- | gnu/packages/lirc.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/lirc.scm b/gnu/packages/lirc.scm index d4c2d18ccc..cd9e06d394 100644 --- a/gnu/packages/lirc.scm +++ b/gnu/packages/lirc.scm @@ -48,6 +48,13 @@ '(#: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 |