diff options
author | maho <maho@FreeBSD.org> | 2008-02-27 10:23:12 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2008-02-27 10:23:12 +0800 |
commit | 3bec938b6e3afb3195466a0bc38646d58bd93408 (patch) | |
tree | 5cd1c184a822d074526723a5463f6d280654074d /math | |
parent | 1e2273f182ca2ab1869f1ab469960db76b65b341 (diff) | |
download | freebsd-ports-gnome-3bec938b6e3afb3195466a0bc38646d58bd93408.tar.gz freebsd-ports-gnome-3bec938b6e3afb3195466a0bc38646d58bd93408.tar.zst freebsd-ports-gnome-3bec938b6e3afb3195466a0bc38646d58bd93408.zip |
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>
Diffstat (limited to 'math')
-rw-r--r-- | math/octave/Makefile | 2 | ||||
-rw-r--r-- | math/octave/files/patch-scripts+miscellaneous+unpack.m | 19 | ||||
-rw-r--r-- | math/octave/files/patch-scripts+pkg+pkg.m | 11 |
3 files changed, 31 insertions, 1 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile index 33a2fe5a0ae9..bdb96cd9569a 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -7,7 +7,7 @@ PORTNAME= octave PORTVERSION= 3.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ftp://ftp.octave.org/pub/octave/ \ ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/ 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); |