aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch
diff options
context:
space:
mode:
authorMichael Jeanson <mjeanson@efficios.com>2016-06-16 13:57:47 -0500
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-06-17 20:09:02 +0200
commitf01519d7b118fc1db8a05c3e3f064e7400c28e6e (patch)
treed3cbbeb206dc0691ee3ef8e688926ce9ad02e3f6 /testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch
parent67ae53c86c51be55b751624d071d0cbe357c1c15 (diff)
downloadaports-f01519d7b118fc1db8a05c3e3f064e7400c28e6e.tar.bz2
aports-f01519d7b118fc1db8a05c3e3f064e7400c28e6e.tar.xz
testing/lttng-tools: new aport
https://lttng.org LTTng 2.0 control tools
Diffstat (limited to 'testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch')
-rw-r--r--testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch b/testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch
new file mode 100644
index 0000000000..525afd497b
--- /dev/null
+++ b/testing/lttng-tools/0005-Fix-Define-MANPATH-in-config.h.patch
@@ -0,0 +1,42 @@
+From c29ac16a3dbd107ac965bfa5738bb0f51b6607bb Mon Sep 17 00:00:00 2001
+From: Michael Jeanson <mjeanson@efficios.com>
+Date: Thu, 9 Jun 2016 15:11:31 -0400
+Subject: [PATCH lttng-tools 1/3] Fix: Define MANPATH in config.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
+Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
+---
+ configure.ac | 2 ++
+ src/common/Makefile.am | 3 +--
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index e761d0b..ec1f7a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -621,6 +621,8 @@ and installing the man pages.
+ AM_CONDITIONAL([MAN_PAGES_OPT], [test "x$man_pages_opt" != "xno"])
+ AM_CONDITIONAL([HAVE_ASCIIDOC_XMLTO], [test "x$have_asciidoc_xmlto" = "xyes"])
+
++AC_DEFINE_UNQUOTED([MANPATH], ["`eval eval echo $mandir`"], [Path to man pages.])
++
+ # Python agent test
+ UST_PYTHON_AGENT="lttngust"
+
+diff --git a/src/common/Makefile.am b/src/common/Makefile.am
+index 193057c..8633730 100644
+--- a/src/common/Makefile.am
++++ b/src/common/Makefile.am
+@@ -1,5 +1,4 @@
+-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \
+- -DMANPATH=\""$(mandir)"\"
++AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
+
+ AUTOMAKE_OPTIONS = subdir-objects
+
+--
+2.7.4
+