aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/sage/files/spkg-patch-maxima_-_src_interfaces_xmaxima_Makefile.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/sage/files/spkg-patch-maxima_-_src_interfaces_xmaxima_Makefile.in b/math/sage/files/spkg-patch-maxima_-_src_interfaces_xmaxima_Makefile.in
new file mode 100644
index 000000000000..d7ea7df6edd9
--- /dev/null
+++ b/math/sage/files/spkg-patch-maxima_-_src_interfaces_xmaxima_Makefile.in
@@ -0,0 +1,20 @@
+--- maxima-5.29.1.p1/src/interfaces/xmaxima/Makefile.in-orig 2013-05-09 02:26:31.000000000 +0000
++++ maxima-5.29.1.p1/src/interfaces/xmaxima/Makefile.in 2013-05-09 02:30:12.000000000 +0000
+@@ -624,14 +624,10 @@
+ tclIndex:: $(TKSOURCES)
+ echo "source ../ObjTcl/Object.tcl; auto_mkindex . $(TKSOURCES)" | $(TCLSH)
+
+-# Create Tkmaxima/tclIndex if tclsh is available. Otherwise, create empty file
+-# to satisfy make.
++# Create empty Tkmaxima/tclIndex, because attempting to create it using tclsh
++# seems to soak up huge amounts of resources.
+ Tkmaxima/tclIndex: $(TKSOURCES)
+- $(TCLSH) < /dev/null > /dev/null 2>&1 && \
+- (cd Tkmaxima ; \
+- echo "source ../ObjTcl/Object.tcl; auto_mkindex . $(ALLFILES)" | \
+- $(TCLSH)) || \
+- touch Tkmaxima/tclIndex
++ touch Tkmaxima/tclIndex
+
+ FORCE:
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.