1 |
commit: 87b491c12c3ef9feac1f838db57ad927f9cfddaf |
2 |
Author: Michal Privoznik <mprivozn <AT> redhat <DOT> com> |
3 |
AuthorDate: Mon Aug 17 09:59:51 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 18 06:43:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87b491c1 |
7 |
|
8 |
app-emulation/libvirt-9999: Override localstatedir |
9 |
|
10 |
In a9084be3e091bf4aff4b75b632ef90866090571f I've moved libvirt |
11 |
from autotools to meson and as a part of that I've made the |
12 |
ebuild to rely on meson.eclass providing the correct |
13 |
localstatedir. Well, it doesn't. The eclass defaults to |
14 |
"/var/lib" while we really want just "/var". |
15 |
|
16 |
Signed-off-by: Michal Privoznik <mprivozn <AT> redhat.com> |
17 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
18 |
|
19 |
app-emulation/libvirt/libvirt-9999.ebuild | 3 ++- |
20 |
1 file changed, 2 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild |
23 |
index 7b42d43f87f..45138117ee2 100644 |
24 |
--- a/app-emulation/libvirt/libvirt-9999.ebuild |
25 |
+++ b/app-emulation/libvirt/libvirt-9999.ebuild |
26 |
@@ -273,7 +273,8 @@ src_configure() { |
27 |
-Dstorage_fs=enabled |
28 |
-Ddriver_vmware=enabled |
29 |
|
30 |
- -Drunstatedir=/run |
31 |
+ --localstatedir="${EPREFIX}/var" |
32 |
+ -Drunstatedir="${EPREFIX}/run" |
33 |
) |
34 |
|
35 |
meson_src_configure |