accessibility/espeak: Fix non-portaudio builds.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-08-22 13:03:10 -04:00 committed by Willy Sudiarto Raharjo
parent 4733dd7952
commit c5e55399a0
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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 ..