From 4f6bf9a9385316a4549693d4721041b47346f8c7 Mon Sep 17 00:00:00 2001 From: Christopher L Duston Date: Thu, 4 Jun 2020 06:14:07 +0700 Subject: academic/sage: Updated for version 9.1. Signed-off-by: Willy Sudiarto Raharjo --- academic/sage/sage.SlackBuild | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'academic/sage/sage.SlackBuild') diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index afa2702101e73..6cb41edaa4089 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for sage # Written by Jack Maddox # Currently maintained by Christopher L Duston +# 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 -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 -- cgit v1.2.3