mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/sage: Updated for version 6.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
906015fffd
commit
2b9473f833
3 changed files with 40 additions and 4 deletions
33
academic/sage/sage-build-root.patch
Normal file
33
academic/sage/sage-build-root.patch
Normal file
|
@ -0,0 +1,33 @@
|
|||
--- sage-6.5/configure.old 2015-02-19 08:11:31.873711070 +0700
|
||||
+++ sage-6.5/configure 2015-02-19 08:12:00.982710447 +0700
|
||||
@@ -2942,19 +2942,19 @@
|
||||
|
||||
|
||||
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root user" >&5
|
||||
-$as_echo_n "checking for root user... " >&6; }
|
||||
+#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root user" >&5
|
||||
+#$as_echo_n "checking for root user... " >&6; }
|
||||
|
||||
-uid=`id -u`
|
||||
-if test "x$uid" == "x0"; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
- as_fn_error $? "You cannot build Sage as root, switch to a unpriviledged user" "$LINENO" 5
|
||||
-else
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
+#uid=`id -u`
|
||||
+#if test "x$uid" == "x0"; then
|
||||
+# { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
+#$as_echo "yes" >&6; }
|
||||
+# as_fn_error $? "You cannot build Sage as root, switch to a unpriviledged user" "$LINENO" 5
|
||||
+#else
|
||||
+# { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
+#$as_echo "no" >&6; }
|
||||
|
||||
-fi;
|
||||
+#fi;
|
||||
|
||||
|
||||
#---------------------------------------------------------
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=sage
|
||||
VERSION=${VERSION:-6.4.1}
|
||||
VERSION=${VERSION:-6.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -63,6 +63,9 @@ mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \
|
|||
# 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
|
||||
|
||||
make
|
||||
|
||||
# test all examples in the documentation (over 93,000 line of input)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="sage"
|
||||
VERSION="6.4.1"
|
||||
VERSION="6.5"
|
||||
HOMEPAGE="http://www.sagemath.org"
|
||||
DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.4.1.tar.gz"
|
||||
MD5SUM="9e64f198f791577555344b9aaa6768a9"
|
||||
DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.5.tar.gz"
|
||||
MD5SUM="ec9195561ffa2bcbc02391ac5af4e7ed"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue