--- ntfs-3g.SlackBuild.orig 2026-09-30 16:46:12.579764905 -0500 +++ ntfs-3g.SlackBuild 2026-09-30 16:46:53.962195126 -0500 @@ -32,8 +32,9 @@ SRCNAM=ntfs-3g VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} +TAG=${TAG:-_pmagic} -NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} +NUMJOBS=${NUMJOBS:-" -j12 "} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -97,12 +98,14 @@ --sbindir=/sbin \ --docdir=/usr/doc/$PKGNAM-$VERSION \ --with-fuse=internal \ + --enable-extras \ + --without-hd \ --disable-ldconfig \ --enable-static=no \ --build=${ARCH}-slackware-linux \ || exit 1 -make $NUMJOBS || exit 1 +make -j12 || exit 1 # Installation bug kludge: mkdir -p $PKG/lib${LIBDIRSUFFIX} @@ -116,6 +119,9 @@ # ceased to work for non-root users unless it is setuid root. If anyone has # any better ideas, I'd like to hear them. chmod 4711 $PKG/bin/ntfs-3g +# --enable-extras also installs an ntfsck; the image ships ntfsprogs-plus's ntfsck +# in /usr/sbin already, so this one is left out rather than shipping two. +rm -f $PKG/bin/ntfsck $PKG/usr/man/man8/ntfsck.8* # Create a mount.ntfs -> mount.ntfs-3g symlink. # This causes ntfs-3g to always be used when mounting NTFS filesystems. @@ -159,4 +165,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz