summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/ntfs3g')
-rw-r--r--sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild (renamed from sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild)7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild
index 32829cd24d9e..fa4b403451ea 100644
--- a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild
+++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild
@@ -75,7 +75,12 @@ src_configure() {
src_install() {
default
- use mount-ntfs && dosym mount.ntfs-3g /sbin/mount.ntfs
+ if use suid; then
+ fperms u+s /usr/bin/ntfs-3g
+ fi
+ if use mount-ntfs; then
+ dosym mount.ntfs-3g /sbin/mount.ntfs
+ fi
find "${ED}" -name '*.la' -type f -delete || die
# https://bugs.gentoo.org/760780
keepdir "/usr/$(get_libdir)/ntfs-3g"