ports/math/octave/files/patch-scripts+pkg+pkg.m
Maho Nakata c208346f13 1. FreeBSD tar requires extra switches to read the archive from stdin.
2. Fix installation of packages from octave-forge. make is not GNU make.
3. Bump portrevision accordingly.

Submitted by:	Ryan Hinton <rwh4s@virginia.edu>
2008-02-27 02:23:12 +00:00

11 lines
446 B
Mathematica

--- 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);