about summary refs log tree commit diff
path: root/pkgs/applications/science/math/sage/spkg-python2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/math/sage/spkg-python2.patch')
-rw-r--r--pkgs/applications/science/math/sage/spkg-python2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/sage/spkg-python2.patch b/pkgs/applications/science/math/sage/spkg-python2.patch
new file mode 100644
index 000000000000..5d92d3f8beaf
--- /dev/null
+++ b/pkgs/applications/science/math/sage/spkg-python2.patch
@@ -0,0 +1,12 @@
+--- old/build/pkgs/python2/spkg-install	2017-07-21 14:10:00.000000000 -0500
++++ new/build/pkgs/python2/spkg-install	2017-10-15 11:26:54.823134067 -0500
+@@ -22,6 +22,9 @@
+ 
+ cd src
+ 
++LDFLAGS="-lcrypt $LDFLAGS"
++export LDFLAGS
++
+ if [ "$SAGE_DEBUG" = "yes" ]; then
+     echo "Building Python with pydebug"
+     PYTHON_CONFIGURE="$PYTHON_CONFIGURE --with-pydebug"