[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: man-db: Patch path to iconv.
From: |
Ricardo Wurmus |
Subject: |
02/02: gnu: man-db: Patch path to iconv. |
Date: |
Wed, 7 Sep 2016 18:54:27 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit ea55a39530d6604cde07d5b23ba529a07a76ea7b
Author: Ricardo Wurmus <address@hidden>
Date: Wed Sep 7 10:44:24 2016 +0200
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>.
---
gnu/packages/man.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index a5ee2d3..8658519 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -79,7 +79,13 @@ a flexible and convenient way.")
(("#! /bin/sh")
(string-append "#!" (which "sh")))))
(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
(let ((groff (assoc-ref %build-inputs "groff"))
(less (assoc-ref %build-inputs "less"))