emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#51389: closed ([PATCH] gnu: lttng-tools: Patch default man path.)


From: GNU bug Tracking System
Subject: bug#51389: closed ([PATCH] gnu: lttng-tools: Patch default man path.)
Date: Wed, 27 Oct 2021 22:30:02 +0000

Your message dated Thu, 28 Oct 2021 00:29:12 +0200
with message-id <877ddyaypz.fsf@gnu.org>
and subject line Re: bug#51389: [PATCH] gnu: lttng-tools: Patch default man 
path.
has caused the debbugs.gnu.org bug report #51389,
regarding [PATCH] gnu: lttng-tools: Patch default man path.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51389: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51389
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: lttng-tools: Patch default man path. Date: Mon, 25 Oct 2021 12:18:43 -0400
* gnu/packages/linux.scm (lttng-tools)
[arguments]: Add 'patch-default-man-path after 'unpack phase.
---
 gnu/packages/linux.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 61ec6d8657..3b4da16d78 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8167,7 +8167,12 @@ (define-public lttng-tools
          (add-before 'configure 'set-environment-variables
            (lambda _
              (setenv "HOME" "/tmp")
-             (setenv "LTTNG_HOME" "/tmp"))))))
+             (setenv "LTTNG_HOME" "/tmp")))
+         ;; We don't put (which "man") here because LTTng uses execlp.
+         (add-after 'unpack 'patch-default-man-path
+           (lambda _
+             (substitute* "src/common/defaults.h"
+               (("/usr/bin/man") "man")))))))
     ;; NOTE - Users have to install python-3 in their profile to use the
     ;; bindings.  We don't put it in the inputs, because the rest of the tools
     ;; can work without it.
-- 
2.33.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#51389: [PATCH] gnu: lttng-tools: Patch default man path. Date: Thu, 28 Oct 2021 00:29:12 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Olivier Dion <olivier.dion@polymtl.ca> skribis:

> * gnu/packages/linux.scm (lttng-tools)
> [arguments]: Add 'patch-default-man-path after 'unpack phase.

Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

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