summary refs log tree commit diff
path: root/pkgs/applications/science/math/sage/spkg-python.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/math/sage/spkg-python.patch')
-rw-r--r--pkgs/applications/science/math/sage/spkg-python.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/sage/spkg-python.patch b/pkgs/applications/science/math/sage/spkg-python.patch
new file mode 100644
index 000000000000..4db9427e3e02
--- /dev/null
+++ b/pkgs/applications/science/math/sage/spkg-python.patch
@@ -0,0 +1,11 @@
+--- old/build/pkgs/python2/spkg-install	2015-07-26 15:34:43.000000000 +0200
++++ new/build/pkgs/python2/spkg-install	2015-09-16 20:48:51.904555797 +0200
+@@ -32,7 +32,7 @@
+ done
+ 
+ # We are setting LDFLAGS so that we pick up Sage's readline
+-LDFLAGS="-L$SAGE_LOCAL/lib $LDFLAGS"
++LDFLAGS="-L$SAGE_LOCAL/lib -lcrypt $LDFLAGS"
+ export LDFLAGS
+ 
+ if [ "$SAGE_DEBUG" = "yes" ]; then