audio/lash: Update for new texi2html.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Woodfall 2022-02-18 19:16:30 +00:00 committed by Willy Sudiarto Raharjo
parent 22dc034361
commit cf100fe860
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lash
VERSION=${VERSION:-0.6.0.594}
SOURCE=$PRGNAM-0.6.0~rc2
BUILD=${BUILD:-5}
BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -82,12 +82,13 @@ 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 {} \;
if [ "$(/usr/share/texmf/bin/texi2html --version 2>/dev/null)" != "1.76" ]; then
patch -p1 --verbose < $CWD/texlive.patch
fi
#if [ "$(/usr/share/texmf/bin/texi2html --version 2>/dev/null)" != "1.76" ]; then
# patch -p1 --verbose < $CWD/texlive.patch
#fi
if $( which texi2html >/dev/null 2>&1 ); then
manual=docs/lash-manual-html-one-page/lash-manual.html
if [ -x /usr/bin/texi2html ]; then
manual=docs/lash-manual-html-one-page/lash-manual.html
sed -i "s,texi2html --number,&-sections,g" docs/Makefile.in
fi
export LDFLAGS="-ldl -lm -ltirpc"