mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
academic/sage: Fix post-installation path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
03b7991591
commit
ab75493883
1 changed files with 6 additions and 7 deletions
|
@ -45,8 +45,12 @@ LIBDIRSUFFIX=""
|
|||
fi
|
||||
####
|
||||
|
||||
# SAGE_ROOT/bin/sage points to the build directory, which can't be
|
||||
# in the /tmp folder if we want it to remain after installation.
|
||||
# So we'll put it in /var/tmp. Maybe just sticking it in /usr is better.
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
TMP=${TMP:-/var/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
|
@ -79,14 +83,9 @@ patch -p1 < $CWD/sage-build-root.patch
|
|||
# Thanks to Philip Lacroix <slackph@posteo.de>
|
||||
rm build/pkgs/python2/patches/sys_path_security-issue_16202.patch
|
||||
|
||||
# Test Fix - this did not work.
|
||||
# sed -i "s|/lib|/lib${LIBDIRSUFFIX}|" build/pkgs/iml/spkg-install
|
||||
|
||||
|
||||
|
||||
# The docs do not build correctly, so instead of make, do the following:
|
||||
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
|
||||
make build
|
||||
make build
|
||||
|
||||
# test all examples in the documentation (over 93,000 line of input)
|
||||
[ "${TEST:-no}" = "yes" ] && make test
|
||||
|
|
Loading…
Reference in a new issue