aboutsummaryrefslogtreecommitdiff
path: root/accessibility/espeakup/espeakup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/espeakup/espeakup.SlackBuild')
-rw-r--r--accessibility/espeakup/espeakup.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/espeakup/espeakup.SlackBuild b/accessibility/espeakup/espeakup.SlackBuild
index b0cb5181b2d6f..575bbcf189f80 100644
--- a/accessibility/espeakup/espeakup.SlackBuild
+++ b/accessibility/espeakup/espeakup.SlackBuild
@@ -20,9 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -65,6 +62,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20211209 bkw: Slackware now ships espeak-ng, use it.
+sed -i 's,-lespeak,&-ng,' Makefile
+
make MANDIR=/usr/man/man8 CFLAGS="$SLKCFLAGS"
make install MANDIR=/usr/man/man8 DESTDIR=$PKG