summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-11-05 19:10:45 -0400
committerMike Gilbert <floppym@gentoo.org>2021-11-05 19:10:45 -0400
commite88a6eb57790b8e05fa7b11c22f0b0855016fc22 (patch)
treed51b7b4524a13de13fbfa08db5ca06f25e5e8075 /sys-fs/ntfs3g
parentprofiles: unmask >=sys-fs/lvm2-2.03 (diff)
downloadgentoo-e88a6eb57790b8e05fa7b11c22f0b0855016fc22.tar.gz
gentoo-e88a6eb57790b8e05fa7b11c22f0b0855016fc22.tar.bz2
gentoo-e88a6eb57790b8e05fa7b11c22f0b0855016fc22.zip
sys-fs/ntfs3g: add 'mount-ntfs' USE flag
Closes: https://bugs.gentoo.org/583214 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
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"