mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -04:00
Initial import (#877651).
This commit is contained in:
parent
257b1142ac
commit
86f823b2b0
41 changed files with 13000 additions and 0 deletions
23
sagemath-buildroot.patch
Normal file
23
sagemath-buildroot.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
diff -up sage-5.8/spkg/build/sage-5.8/module_list.py.orig sage-5.8/spkg/build/sage-5.8/module_list.py
|
||||
--- sage-5.8/spkg/build/sage-5.8/module_list.py.orig 2013-03-19 16:03:38.039687555 -0300
|
||||
+++ sage-5.8/spkg/build/sage-5.8/module_list.py 2013-03-19 16:03:47.215687907 -0300
|
||||
@@ -16,7 +16,7 @@ else:
|
||||
SAGE_ROOT = os.environ['SAGE_ROOT']
|
||||
SAGE_LOCAL = SAGE_ROOT + '/local'
|
||||
SAGE_DEVEL = SAGE_ROOT + '/devel'
|
||||
- SAGE_INC = SAGE_LOCAL + '/include/'
|
||||
+ SAGE_INC = '/usr/include/'
|
||||
|
||||
|
||||
#########################################################
|
||||
@@ -1697,8 +1697,8 @@ ext_modules = [
|
||||
sources = ['sage/rings/polynomial/plural.pyx'],
|
||||
libraries = ['m', 'readline', 'singular', 'givaro', 'gmpxx', 'gmp'],
|
||||
language="c++",
|
||||
- include_dirs = [SAGE_ROOT +'/local/include/singular'],
|
||||
- depends = [SAGE_ROOT + "/local/include/libsingular.h"],
|
||||
+ include_dirs = [SAGE_INC + 'singular', SAGE_INC + 'factory'],
|
||||
+ depends = singular_depends,
|
||||
extra_compile_args = givaro_extra_compile_args),
|
||||
|
||||
Extension('sage.rings.polynomial.multi_polynomial_libsingular',
|
Loading…
Add table
Add a link
Reference in a new issue