Fixed the octave packaging system. It failed due to illegal calls to
gzip/tar and make. Replaced with tar and gmake.
This renders the installation of the symbolic package possible in order
to test the ginac and cln ports that were submitted earlier.
$OpenBSD$
--- scripts/miscellaneous/unpack.m.orig Thu Apr 19 20:06:22 2007
+++ scripts/miscellaneous/unpack.m Mon Nov 5 22:17:40 2007
@@ -125,8 +125,8 @@ function filelist = unpack (file, directory, filetype)
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 = {"tar xzf \"%s\"", ...
+ "tar xzf \"%s\"", ...
@__parse_tar__, false};
commandlist.tgz = commandlist.targz;
commandlist.tarbz2 = {"bzip2 -d -c \"%s\" | tar -x -v", ...
$OpenBSD$
--- scripts/pkg/pkg.m.orig Mon Nov 5 22:41:41 2007
+++ scripts/pkg/pkg.m Mon Nov 5 22:20:21 2007
@@ -996,7 +996,7 @@ function configure_make (desc, packdir, verbose)
## 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);