summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2020-02-10 13:50:20 +0100
committerMatthias Maier <tamiko@gentoo.org>2020-02-10 10:03:48 -0600
commit05da722fe8ad1c924d188b5099bc1f189c406fb4 (patch)
treefdc4d851883078a91d0f589459b3c57e1276f8bf /app-emulation
parentapp-emulation/libvirt-9999: Drop gnulib dance (diff)
downloadgentoo-05da722fe8ad1c924d188b5099bc1f189c406fb4.tar.gz
gentoo-05da722fe8ad1c924d188b5099bc1f189c406fb4.tar.bz2
gentoo-05da722fe8ad1c924d188b5099bc1f189c406fb4.zip
app-emulation/libvirt-9999: Provide modern runtime directory
Because of autoconf-2.69 and its defaults, the configure script will default to /var/run instead of /run. This may trigger warnings in some packages which expect libvirt to provide modern paths (e.g. systemd and location of .socket files). Bug: https://bugs.gentoo.org/708782 Closes: https://github.com/gentoo/gentoo/pull/14613 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libvirt/libvirt-9999.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild
index 648922f96f29..c2205b44c10b 100644
--- a/app-emulation/libvirt/libvirt-9999.ebuild
+++ b/app-emulation/libvirt/libvirt-9999.ebuild
@@ -280,6 +280,7 @@ my_src_configure() {
--disable-werror
--localstatedir=/var
+ --with-runstatedir=/run
--enable-dependency-tracking
)
@@ -314,6 +315,7 @@ my_src_install() {
# libvirtd is able to create them on demand
rm -rf "${D}"/etc/sysconfig
rm -rf "${D}"/var
+ rm -rf "${D}"/run
newbashcomp "${S}/tools/bash-completion/vsh" virsh
bashcomp_alias virsh virt-admin