gnu: lirc: Remove obsolete trailing #t.

* gnu/packages/lirc.scm (lirc)[arguments]:
Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2023-01-15 01:00:00 +01:00
parent ec3226c398
commit 4e4ea85c26
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -63,16 +63,14 @@
;; 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))
(("kernelversion=.*") "kernelversion=irrelevant\n"))))
(add-after 'unpack 'patch-lirc-make-devinput
(lambda* (#:key inputs #:allow-other-keys)
;; 'lirc-make-devinput' script assumes that linux headers
;; are placed in "/usr/...".
(let ((headers (assoc-ref inputs "kernel-headers")))
(substitute* "tools/lirc-make-devinput"
(("/usr/include") (string-append headers "/include"))))
#t))
(("/usr/include") (string-append headers "/include"))))))
(add-after 'unpack 'patch-doc/Makefile.in
(lambda _
;; Lirc wants to install several images and a useless html page
@ -82,8 +80,7 @@
;; "share/doc/lirc/images/" anyway).
(substitute* "doc/Makefile.in"
(("^vardocs_DATA =.*") "vardocs_DATA =\n")
(("^varimage_DATA =.*") "varimage_DATA =\n"))
#t))
(("^varimage_DATA =.*") "varimage_DATA =\n"))))
(add-after 'unpack 'omit-pip-sourceball
;; make install invokes setup.py sdist, which has no known (to
;; nckx) way to enforce mtimes. The utility of this is questionable,