diff options
Diffstat (limited to 'academic')
-rw-r--r-- | academic/sage/sage.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index 2ee5996dc9..afa2702101 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -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 |