guix-devel
[Top][All Lists]
Advanced

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

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


From: Mark H Weaver
Subject: [PATCH] gnu: tcl: Install man pages in share/man
Date: Wed, 26 Mar 2014 15:55:09 -0400

>From a61c7a353fc54c2be630da9fc69f6f711abf96a1 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
Date: Wed, 26 Mar 2014 15:09:03 -0400
Subject: [PATCH] gnu: tcl: Install man pages in share/man.

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

diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index d025bff..18324ec 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Ludovic Courtès <address@hidden>
+;;; Copyright © 2014 Mark H Weaver <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -56,6 +57,12 @@
                                       "tclsh")))))
                   %standard-phases))
 
+       ;; 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"))
+
        ;; XXX: There are a few test failures (related to HTTP, most
        ;; likely related to name resolution), but that doesn't cause
        ;; `make' to fail.
-- 
1.8.4




reply via email to

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