summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-04-01 18:04:36 -0400
committerMark H Weaver <mhw@netris.org>2014-04-02 11:28:01 -0400
commit223ed921f2d6c5893a89b5c64211ce2306e1cc11 (patch)
tree05e8581b386c4094c3ba676d8b42f570707a68c6 /gnu/packages
parent988cecfd4ff1f1d8e7960ed3f52f51af824a681b (diff)
downloadguix-223ed921f2d6c5893a89b5c64211ce2306e1cc11.tar.gz
gnu: pth: Install man pages in share/man.
* gnu/packages/pth.scm (pth): Add --mandir to configure flags.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/pth.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/pth.scm b/gnu/packages/pth.scm
index 211c0cf693..fd4aba142c 100644
--- a/gnu/packages/pth.scm
+++ b/gnu/packages/pth.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -35,7 +36,13 @@
        (base32
         "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"))))
     (build-system gnu-build-system)
-    (arguments '(#:parallel-build? #f))
+    (arguments
+     '(#:parallel-build? #f
+       ;; By default, man pages are put in PREFIX/man,
+       ;; but we want them in PREFIX/share/man.
+       #:configure-flags (list (string-append "--mandir="
+                                              (assoc-ref %outputs "out")
+                                              "/share/man"))))
     (home-page "http://www.gnu.org/software/pth")
     (synopsis "Portable thread library")
     (description