summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2020-08-17 11:59:51 +0200
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-18 07:43:31 +0100
commit87b491c12c3ef9feac1f838db57ad927f9cfddaf (patch)
tree6773987a8cf76d2763765f1b0bbee2759a60cae6 /app-emulation
parentapp-emulation/libvirt: Fix meson option names (diff)
downloadgentoo-87b491c12c3ef9feac1f838db57ad927f9cfddaf.tar.gz
gentoo-87b491c12c3ef9feac1f838db57ad927f9cfddaf.tar.bz2
gentoo-87b491c12c3ef9feac1f838db57ad927f9cfddaf.zip
app-emulation/libvirt-9999: Override localstatedir
In a9084be3e091bf4aff4b75b632ef90866090571f I've moved libvirt from autotools to meson and as a part of that I've made the ebuild to rely on meson.eclass providing the correct localstatedir. Well, it doesn't. The eclass defaults to "/var/lib" while we really want just "/var". Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libvirt/libvirt-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild
index 7b42d43f87f3..45138117ee27 100644
--- a/app-emulation/libvirt/libvirt-9999.ebuild
+++ b/app-emulation/libvirt/libvirt-9999.ebuild
@@ -273,7 +273,8 @@ src_configure() {
-Dstorage_fs=enabled
-Ddriver_vmware=enabled
- -Drunstatedir=/run
+ --localstatedir="${EPREFIX}/var"
+ -Drunstatedir="${EPREFIX}/run"
)
meson_src_configure