diff options
Diffstat (limited to 'academic/sage/sage.SlackBuild')
-rw-r--r-- | academic/sage/sage.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index afa2702101..6cb41edaa4 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for sage # Written by Jack Maddox <jack@auburn.edu> # Currently maintained by Christopher L Duston <christopher.duston@protonmail.com> +# Last update June 2020. +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sage -VERSION=${VERSION:-9.0} +VERSION=${VERSION:-9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,18 +76,11 @@ find -L . \ mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ $PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d -# Added freeBSD patch to build as root, thanks to Heinz for pointing it -patch -p0 < $CWD/pynac.patch - -# Added more patch to build as root. -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 - # The docs do not build correctly, so instead of make, do the following: LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ - make build + ./configure \ + --enable-build-as-root +make build # test all examples in the documentation (over 93,000 line of input) [ "${TEST:-no}" = "yes" ] && make test |