summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/ntfs3g')
-rw-r--r--sys-fs/ntfs3g/metadata.xml1
-rw-r--r--sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild4
2 files changed, 3 insertions, 2 deletions
diff --git a/sys-fs/ntfs3g/metadata.xml b/sys-fs/ntfs3g/metadata.xml
index 9b2852a0591a..fd2cd929283c 100644
--- a/sys-fs/ntfs3g/metadata.xml
+++ b/sys-fs/ntfs3g/metadata.xml
@@ -16,6 +16,7 @@
file ownership, access right.
</longdescription>
<use>
+ <flag name="mount-ntfs">Install mount.ntfs symlink</flag>
<flag name="ntfsdecrypt">Build and install the ntfsdecrypt application.</flag>
<flag name="ntfsprogs">Include internal version of ntfsprogs.</flag>
</use>
diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild
index 73800e129e54..f022ac5e5589 100644
--- a/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild
+++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
# The subslot matches the SONAME major #.
SLOT="0/89"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="acl debug ntfsdecrypt +ntfsprogs static-libs suid xattr"
+IUSE="acl debug +mount-ntfs ntfsdecrypt +ntfsprogs static-libs suid xattr"
RDEPEND="
sys-apps/util-linux:0=
@@ -75,7 +75,7 @@ src_configure() {
src_install() {
default
use suid && fperms u+s /usr/bin/ntfs-3g
- dosym mount.ntfs-3g /sbin/mount.ntfs
+ use mount-ntfs && dosym mount.ntfs-3g /sbin/mount.ntfs
find "${ED}" -name '*.la' -type f -delete || die
# https://bugs.gentoo.org/760780
keepdir "/usr/$(get_libdir)/ntfs-3g"