aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Vögele <andreas@andreasvoegele.com>2014-05-05 01:01:35 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-14 08:00:02 +0700
commit0bce19465160edecee68db5b34589efa51aad222 (patch)
tree5e6cbcbe48a9c5c2c68249826428f35e7f080452
parent36f2290d9fea9f77a7d4252822e28b4403687aa0 (diff)
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>
-rw-r--r--office/texlive/texlive.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild
index d6df923e2ec80..de43183baa8c4 100644
--- a/office/texlive/texlive.SlackBuild
+++ b/office/texlive/texlive.SlackBuild
@@ -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