>From 2b2e4b79fa37f50587d195792df4e00b743acf1a Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Tue, 21 Jul 2015 17:04:10 +0300 Subject: [PATCH 1/3] gnu: man-db: Pass --with-col to configure. * gnu/packages/man.scm (man-db)[inputs]: Add 'util-linux'. [arguments]: Add '--with-col' to configure flags. --- gnu/packages/man.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 3173fac..16b891c 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -30,7 +30,8 @@ #:use-module (gnu packages less) #:use-module (gnu packages lynx) #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config)) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages linux)) (define-public libpipeline (package @@ -82,14 +83,16 @@ a flexible and convenient way.") (let ((groff (assoc-ref %build-inputs "groff")) (less (assoc-ref %build-inputs "less")) (gzip (assoc-ref %build-inputs "gzip")) - (bzip2 (assoc-ref %build-inputs "bzip2")) - (xz (assoc-ref %build-inputs "xz"))) + (bzip2 (assoc-ref %build-inputs "bzip2")) + (xz (assoc-ref %build-inputs "xz")) + (util (assoc-ref %build-inputs "util-linux"))) ;; Invoke groff, less, gzip, bzip2, and xz directly from the store. (append (list "--disable-setuid" ;; Disable setuid man user. (string-append "--with-pager=" less "/bin/less") (string-append "--with-gzip=" gzip "/bin/gzip") (string-append "--with-bzip2=" bzip2 "/bin/gzip") - (string-append "--with-xz=" xz "/bin/xz")) + (string-append "--with-xz=" xz "/bin/xz") + (string-append "--with-col=" util "/bin/col")) (map (lambda (prog) (string-append "--with-" prog "=" groff "/bin/" prog)) '("nroff" "eqn" "neqn" "tbl" "refer" "pic")))) @@ -103,7 +106,8 @@ a flexible and convenient way.") ("gdbm" ,gdbm) ("groff" ,groff) ("less" ,less) - ("libpipeline" ,libpipeline))) + ("libpipeline" ,libpipeline) + ("util-linux" ,util-linux))) (native-search-paths (list (search-path-specification (variable "MANPATH") -- 2.4.3