The new version tries to create "/usr/lib/tmpfiles.d" during install
phase, so I added "--with-systemdtmpfilesdir=" flag.  Unhappily there is
no "--disable-systemd" or alike.

>From f1aaef17f561e77b0178ec260e400830ee963bf7 Mon Sep 17 00:00:00 2001
From: Alex Kost <[email protected]>
Date: Tue, 21 Jul 2015 17:15:09 +0300
Subject: [PATCH 3/3] gnu: man-db: Update to 2.7.1.

* gnu/packages/man.scm (man-db): Update to 2.7.1.
  [arguments]: Add '--with-systemdtmpfilesdir' to configure flags.
---
 gnu/packages/man.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index dce117e..2606006 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -56,14 +56,14 @@ a flexible and convenient way.")
 (define-public man-db
   (package
     (name "man-db")
-    (version "2.6.6")
+    (version "2.7.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://savannah/man-db/man-db-"
                                   version ".tar.xz"))
               (sha256
                (base32
-                "1hv6byj6sg6cp3jyf08gbmdm4pwhvd5hzmb94xl0w7prin6hzabx"))))
+                "03ly0hbpgjnag576rgccanaisn7f6422q5qxrj64vyzslc2651y4"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases
@@ -92,7 +92,11 @@ a flexible and convenient way.")
                        (string-append "--with-gzip=" gzip "/bin/gzip")
                        (string-append "--with-bzip2=" bzip2 "/bin/gzip")
                        (string-append "--with-xz=" xz "/bin/xz")
-                       (string-append "--with-col=" util "/bin/col"))
+                       (string-append "--with-col=" util "/bin/col")
+                       ;; Default value is "/usr/lib/tmpfiles.d" (not
+                       ;; prefix-sensitive).
+                       (string-append "--with-systemdtmpfilesdir="
+                                      %output "/lib/tmpfiles.d"))
                  (map (lambda (prog)
                         (string-append "--with-" prog "=" groff "/bin/" prog))
                       '("nroff" "eqn" "neqn" "tbl" "refer" "pic"))))
-- 
2.4.3

Reply via email to