app-emulation/lxc: fix QA issues
authorMatthias Maier <tamiko@gentoo.org>
Thu, 26 Apr 2018 01:28:45 +0000 (20:28 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Thu, 26 Apr 2018 01:35:50 +0000 (20:35 -0500)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

app-emulation/lxc/lxc-3.0.0.ebuild

index 2b427710f986b68e87d6dfe8c0cd78168edefced..c6cd017971c9c704a1f4e94ca58e0151170c528b 100644 (file)
@@ -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