summaryrefslogtreecommitdiff
path: root/accessibility/espeak/espeak.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-08-22 13:03:10 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:08:37 +0700
commitc5e55399a0f7319a4d121b903c771474e992ac4d (patch)
tree256c80c8a7cff5a66f41651ad5611b03b0c026db /accessibility/espeak/espeak.SlackBuild
parent4733dd7952c5694743fc5f8ab45dead3e98b4a13 (diff)
downloadslackbuilds-c5e55399a0f7319a4d121b903c771474e992ac4d.tar.gz
accessibility/espeak: Fix non-portaudio builds.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility/espeak/espeak.SlackBuild')
-rw-r--r--accessibility/espeak/espeak.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/accessibility/espeak/espeak.SlackBuild b/accessibility/espeak/espeak.SlackBuild
index 1a6402a5d3..a0f5941a0d 100644
--- a/accessibility/espeak/espeak.SlackBuild
+++ b/accessibility/espeak/espeak.SlackBuild
@@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200822 bkw:
+# - BUILD=3
+# - Fix PORTAUDIO=no builds, thanks to timsoft for reporting this.
+
# 20191218 bkw:
# - BUILD=2
# - Update man page (still using the one from Debian).
@@ -17,7 +21,7 @@
PRGNAM=espeak
VERSION=${VERSION:-1.48.04}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -109,7 +113,7 @@ cd src
LIBDIR=/usr/lib$LIBDIRSUFFIX
SLKCFLAGS="$SLKCFLAGS -Wno-narrowing"
make LDFLAGS="-Wl,-s" LIBDIR=$LIBDIR CXXFLAGS="$SLKCFLAGS" AUDIO="$AUDIO"
- make install LIBDIR=$LIBDIR DESTDIR=$PKG
+ make install LIBDIR=$LIBDIR DESTDIR=$PKG AUDIO="$AUDIO"
rm -f $PKG/$LIBDIR/*.a # guidelines say no static libs
cd ..