office/texlive: Fix setting LD_LIBRARY_PATH during build

The assignment LD_LIBRARY_PATH+=$PKG/usr/lib${LIBDIRSUFFIX} in
texlive.SlackBuild doesn't work if LD_LIBRARY_PATH is not empty as no
colon is inserted before the additional path, i.e. LD_LIBRARY_PATH is
set to, for example, /usr/mylib/tmp/SBo/package-texlive/usr/lib instead
of /usr/mylib:/tmp/SBo/package-texlive/usr/lib.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Andreas Vögele 2014-05-05 01:01:35 -05:00 committed by Willy Sudiarto Raharjo
parent 36f2290d9f
commit 0bce194651

View file

@ -128,7 +128,7 @@ mkdir build ; cd build
cd ..
# Create symlinks
PATH="$PATH:$PKG/usr/bin" LD_LIBRARY_PATH+=$PKG/usr/lib${LIBDIRSUFFIX} \
PATH="$PATH:$PKG/usr/bin" LD_LIBRARY_PATH=$PKG/usr/lib${LIBDIRSUFFIX}:$LD_LIBRARY_PATH \
texlinks -f $PKG/usr/share/texmf-dist/web2c/fmtutil.cnf $PKG/usr/bin
# Install the docs while we're still here