sys-fs/fuse: use udev eclass to determine udev dir for removal
authorTim Harder <radhermit@gentoo.org>
Fri, 23 Mar 2018 00:33:20 +0000 (20:33 -0400)
committerTim Harder <radhermit@gentoo.org>
Fri, 23 Mar 2018 01:34:52 +0000 (21:34 -0400)
Closes: https://bugs.gentoo.org/651210

sys-fs/fuse/fuse-2.9.7-r1.ebuild
sys-fs/fuse/fuse-3.2.1.ebuild

index 8ab358ad11ff1c9374b9c139c43249ea57abbf03..b27dc23c1413c96d90782e59867fb9780e431c13 100644 (file)
@@ -64,7 +64,7 @@ src_install() {
        prune_libtool_files
 
        # installed via fuse-common
-       rm -r "${ED%/}"/{etc,lib} || die
+       rm -r "${ED%/}"/{etc,$(get_udevdir)} || die
        rm "${ED%/}"/usr/share/man/man8/mount.fuse.* || die
        rm "${ED%/}"/sbin/mount.fuse || die
 
index 2514b6960a784241823d9d450e05c94217888965..4012fc673b62ea176941081cfce3f2500dde9d6e 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 PYTHON_COMPAT=( python3_{4,5,6} )
 
-inherit meson multilib-minimal flag-o-matic python-any-r1
+inherit meson multilib-minimal flag-o-matic udev python-any-r1
 
 DESCRIPTION="An interface for filesystems implemented in userspace"
 HOMEPAGE="https://github.com/libfuse/libfuse"
@@ -62,7 +62,7 @@ multilib_src_install_all() {
        einstalldocs
 
        # installed via fuse-common
-       rm -r "${ED%/}"/{etc,lib} || die
+       rm -r "${ED%/}"/{etc,$(get_udevdir)} || die
        rm "${ED%/}"/usr/sbin/mount.fuse3 || die
 
        # handled by the device manager