guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: flac: Install man pages in share/man


From: Mark H Weaver
Subject: [PATCH] gnu: flac: Install man pages in share/man
Date: Fri, 21 Mar 2014 15:50:18 -0400

I'm not sure if this should go in master or core-updates.
What do you think?

    Mark


>From c90bdada66d79c04d42a7c6a6210fd73b866d328 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
Date: Fri, 21 Mar 2014 03:14:54 -0400
Subject: [PATCH] gnu: flac: Install man pages in share/man.

* gnu/packages/xiph.scm (flac): Add --mandir configure flag.
---
 gnu/packages/xiph.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index 0e8cb5f..49db245 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
 ;;; Copyright © 2013 David Thompson <address@hidden>
 ;;; Copyright © 2014 Sree Harsha Totakura <address@hidden>
+;;; Copyright © 2014 Mark H Weaver <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -201,7 +202,12 @@ OpenBSD's sndio.")
              (list (search-patch "flac-fix-memcmp-not-declared.patch")))))
    (build-system gnu-build-system)
    (arguments
-    `(#:parallel-tests? #f))
+    `(#:parallel-tests? #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"))))
    ;; FIXME: configure also looks for xmms, input could be added once it exists
    (inputs `(("libogg" ,libogg)))
    (synopsis "flac free lossless audio codec")
-- 
1.8.4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]