a7ba9d3f20
- Use upstream spec file - Update to pcp-3.6.3. OBS-URL: https://build.opensuse.org/request/show/125083 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=14
47 lines
1018 B
Diff
47 lines
1018 B
Diff
From 8ae41f7080de22383990ef477d28f148dfa403a7 Mon Sep 17 00:00:00 2001
|
|
From: David Disseldorp <ddiss@samba.org>
|
|
Date: Tue, 5 Jun 2012 17:01:28 +0200
|
|
Subject: [PATCH] build: append pcp sub-directory suffix
|
|
|
|
With the fix to correctly handle a --Xdir= configure arguments, a number
|
|
of PCP specific paths need a pcp/ suffix to match default (no --Xdir=)
|
|
paths.
|
|
---
|
|
configure.in | 6 ++++++
|
|
1 files changed, 6 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index 6b83469..e25a7cc 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -1553,6 +1553,8 @@ then
|
|
else
|
|
pcp_share_dir=/usr/pcp
|
|
fi
|
|
+else
|
|
+ pcp_share_dir=`eval echo $pcp_share_dir/pcp`
|
|
fi
|
|
AC_SUBST(pcp_share_dir)
|
|
|
|
@@ -1598,6 +1600,8 @@ then
|
|
else
|
|
pcp_var_dir=/usr
|
|
fi
|
|
+else
|
|
+ pcp_var_dir=`eval echo $pcp_var_dir/pcp`
|
|
fi
|
|
AC_SUBST(pcp_var_dir)
|
|
|
|
@@ -1852,6 +1856,8 @@ then
|
|
else
|
|
pcp_inc_dir=/usr/include/pcp
|
|
fi
|
|
+else
|
|
+ pcp_inc_dir=`eval echo $pcp_inc_dir/pcp`
|
|
fi
|
|
AC_SUBST(pcp_inc_dir)
|
|
|
|
--
|
|
1.7.1
|
|
|