commit:     db82572dfe7bb5db111718eeb6fdab95b9daf61a
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 26 01:28:45 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 01:35:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db82572d

app-emulation/lxc: fix QA issues

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 app-emulation/lxc/lxc-3.0.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emulation/lxc/lxc-3.0.0.ebuild 
b/app-emulation/lxc/lxc-3.0.0.ebuild
index 2b427710f98..c6cd017971c 100644
--- a/app-emulation/lxc/lxc-3.0.0.ebuild
+++ b/app-emulation/lxc/lxc-3.0.0.ebuild
@@ -125,7 +125,7 @@ src_configure() {
                --enable-doc \
                $(use_enable examples) \
                $(use_enable pam) \
-               $(use_with pam pam-dir $(getpam_mod_dir)) \
+               $(use_with pam pamdir $(getpam_mod_dir)) \
                $(use_enable seccomp) \
                $(use_enable selinux)
 }
@@ -138,6 +138,7 @@ src_install() {
                
${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,stop,unfreeze,wait}
 
        keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
+       rmdir "${D}"/var/cache/lxc "${D}"/var/cache || die "rmdir failed"
 
        find "${D}" -name '*.la' -delete
 

Reply via email to