diff options
Diffstat (limited to 'academic/sage/sage.SlackBuild')
-rw-r--r-- | academic/sage/sage.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index bdbbd7bfda..64c53337d2 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -5,7 +5,7 @@ # Currently maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org> PRGNAM=sage -VERSION=${VERSION:-6.1} +VERSION=${VERSION:-6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,6 +41,10 @@ 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 + make # test all examples in the documentation (over 93,000 line of input) @@ -62,6 +66,7 @@ if [ "$OPTIONALSPKG" != "no" ]; then fi cp -av * $PKG/$SAGEROOT +rm -rf $PKG/$SAGEROOT/{upstream,logs} find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |