Date: Friday, May 16, 2014 @ 12:02:16
  Author: arcanis
Revision: 111306

upgpkg: sage-mathematics 6.2-2
libatomic_ops rebuild

Modified:
  sage-mathematics/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-05-16 09:27:14 UTC (rev 111305)
+++ PKGBUILD    2014-05-16 10:02:16 UTC (rev 111306)
@@ -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,7 +58,7 @@
   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
 }
 
@@ -65,6 +65,10 @@
 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'

Reply via email to