aboutsummaryrefslogtreecommitdiff
path: root/math/octave/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-02-27 02:23:12 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-02-27 02:23:12 +0000
commitc208346f139257d0cbc457490bf9b5289f973124 (patch)
tree73b79f674674405ae9103e4208d7b96ffbdd65bc /math/octave/files
parentc1132e3c08eefcd98de65079c6fbbaa2c1ca3afd (diff)
Notes
Diffstat (limited to 'math/octave/files')
-rw-r--r--math/octave/files/patch-scripts+miscellaneous+unpack.m19
-rw-r--r--math/octave/files/patch-scripts+pkg+pkg.m11
2 files changed, 30 insertions, 0 deletions
diff --git a/math/octave/files/patch-scripts+miscellaneous+unpack.m b/math/octave/files/patch-scripts+miscellaneous+unpack.m
new file mode 100644
index 000000000000..5dfdd9675492
--- /dev/null
+++ b/math/octave/files/patch-scripts+miscellaneous+unpack.m
@@ -0,0 +1,19 @@
+--- scripts/miscellaneous/unpack.m.orig 2007-10-13 06:27:23.000000000 +0900
++++ scripts/miscellaneous/unpack.m 2008-02-27 11:17:04.000000000 +0900
+@@ -124,12 +124,12 @@
+ commandlist.tar = {"tar -x -v -f \"%s\"", ...
+ "tar -x -f \"%s\"", ...
+ @__parse_tar__, false};
+- commandlist.targz = {"gzip -d -c \"%s\" | tar -x -v", ...
+- "gzip -d -c \"%s\" | tar -x", ...
++ commandlist.targz = {"gzip -d -c \"%s\" | tar -x -v -f - ", ...
++ "gzip -d -c \"%s\" | tar -x -f - ", ...
+ @__parse_tar__, false};
+ commandlist.tgz = commandlist.targz;
+- commandlist.tarbz2 = {"bzip2 -d -c \"%s\" | tar -x -v", ...
+- "bzip2 -d -c \"%s\" | tar -x", ...
++ commandlist.tarbz2 = {"bzip2 -d -c \"%s\" | tar -x -v -f - ", ...
++ "bzip2 -d -c \"%s\" | tar -x -f - ", ...
+ @__parse_tar__, false};
+ commandlist.tarbz = commandlist.tarbz2;
+ commandlist.tbz2 = commandlist.tarbz2;
diff --git a/math/octave/files/patch-scripts+pkg+pkg.m b/math/octave/files/patch-scripts+pkg+pkg.m
new file mode 100644
index 000000000000..c4b0030fe524
--- /dev/null
+++ b/math/octave/files/patch-scripts+pkg+pkg.m
@@ -0,0 +1,11 @@
+--- scripts/pkg/pkg.m~ 2007-12-20 16:55:26.000000000 +0000
++++ scripts/pkg/pkg.m 2008-02-25 16:32:59.000000000 +0000
+@@ -1052,7 +1052,7 @@
+ ## make
+ if (exist (fullfile (src, "Makefile"), "file"))
+ [status, output] = shell (strcat ("export INSTALLDIR=\"", desc.dir,
+- "\"; make -C ", src));
++ "\"; gmake -C ", src));
+ if (status != 0)
+ rm_rf (desc.dir);
+ error ("'make' returned the following error: %s", output);