aboutsummaryrefslogtreecommitdiff
path: root/math/sage
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2013-05-09 19:48:09 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2013-05-09 19:48:09 +0000
commit8afd70b324717144bcd22ff09c473b18a18e717f (patch)
tree96cf307d1ae83e57dfa33cbd409a2fa9397ceefe /math/sage
parent1fc97960f31709181845ecf7ae92b179c968839b (diff)
downloadports-8afd70b324717144bcd22ff09c473b18a18e717f.tar.gz
ports-8afd70b324717144bcd22ff09c473b18a18e717f.zip
- Add patch to the maxima subpackage. This will act as a bandaid to stop
the build process soaking up huge amounts of resources for apparently no good reason.
Notes
Notes: svn path=/head/; revision=317745
Diffstat (limited to 'math/sage')
-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.