unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: tcl: Install man pages in share/man
@ 2014-03-26 19:55 Mark H Weaver
  2014-03-26 23:23 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2014-03-26 19:55 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: [PATCH] gnu: tcl: Install man pages in share/man --]
[-- Type: text/x-patch, Size: 1330 bytes --]

From a61c7a353fc54c2be630da9fc69f6f711abf96a1 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
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 <ludo@gnu.org>
+;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: tcl: Install man pages in share/man
  2014-03-26 19:55 [PATCH] gnu: tcl: Install man pages in share/man Mark H Weaver
@ 2014-03-26 23:23 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-03-26 23:23 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> From a61c7a353fc54c2be630da9fc69f6f711abf96a1 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <mhw@netris.org>
> 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.

OK, please push.

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-26 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-26 19:55 [PATCH] gnu: tcl: Install man pages in share/man Mark H Weaver
2014-03-26 23:23 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).