mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: man-db: Patch path to iconv.
* gnu/packages/man.scm (man-db)[arguments]: Add phase "patch-iconv-path". Fixes <http://bugs.gnu.org/24373>.
This commit is contained in:
parent
e79b3c37e3
commit
ea55a39530
|
@ -79,7 +79,13 @@ a flexible and convenient way.")
|
||||||
(("#! /bin/sh")
|
(("#! /bin/sh")
|
||||||
(string-append "#!" (which "sh")))))
|
(string-append "#!" (which "sh")))))
|
||||||
(remove file-is-directory?
|
(remove file-is-directory?
|
||||||
(find-files "src/tests" ".*")))))))
|
(find-files "src/tests" ".*"))))))
|
||||||
|
(add-after 'unpack 'patch-iconv-path
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "src/man.c"
|
||||||
|
(("\"iconv\"")
|
||||||
|
(string-append "\"" (which "iconv") "\"")))
|
||||||
|
#t)))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(let ((groff (assoc-ref %build-inputs "groff"))
|
(let ((groff (assoc-ref %build-inputs "groff"))
|
||||||
(less (assoc-ref %build-inputs "less"))
|
(less (assoc-ref %build-inputs "less"))
|
||||||
|
|
Loading…
Reference in a new issue