summaryrefslogtreecommitdiff
path: root/community/sage-mathematics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sage-mathematics/PKGBUILD')
-rw-r--r--community/sage-mathematics/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD
index b575e6573..f6564a9a5 100644
--- a/community/sage-mathematics/PKGBUILD
+++ b/community/sage-mathematics/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 110989 2014-05-11 19:10:42Z arcanis $
+# $Id: PKGBUILD 111528 2014-05-19 16:10:30Z anatolik $
# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Antonio Rojas <nqn1976 at gmail dot com>
@@ -9,7 +9,7 @@
pkgname=sage-mathematics
pkgver=6.2
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"
arch=('i686' 'x86_64')
url="http://www.sagemath.org"
@@ -58,13 +58,17 @@ X-KDE-Username="
sed -e 's/READLINE/#READLINE/' -i "${srcdir}/sage-${pkgver}/build/install"
# disable building gf2x with sse2 for i686
if [ "${CARCH}" == "i686" ]; then
- cp "${srcdir}/gf2x-sse2-i686.patch" "${srcdir}/sage-${pkgver}/build/pkgs/gf2x/patches/sse2-i686.patch"
+ cp "${srcdir}/gf2x-sse2-i686.patch" "${srcdir}/sage-${pkgver}/build/pkgs/gf2x/patches/sse2.patch"
fi
}
build() {
cd "sage-${pkgver}"
+ # disable default makepkg flags (needed for singular and libgap)
+ unset CFLAGS
+ unset CXXFLAGS
+ unset LDFLAGS
## flags
# do not build own gcc
export SAGE_INSTALL_GCC='no'