openbsd-ports/math/octave/patches/patch-scripts_miscellaneous_unpack_m
steven 40d19078bc - in the unpack function, add missing -f argument to tar invocations
- in the pkg function, use gmake instead of make, since all the octave-forge
stuff uses it; add corresponding runtime dependency on gmake

based on a diff from Paul Irofti (bulibuta at gmail)
2007-11-10 11:15:05 +00:00

21 lines
1.0 KiB
Plaintext

$OpenBSD: patch-scripts_miscellaneous_unpack_m,v 1.1 2007/11/10 11:15:05 steven Exp $
--- scripts/miscellaneous/unpack.m.orig Sat Nov 10 12:11:03 2007
+++ scripts/miscellaneous/unpack.m Sat Nov 10 12:11:10 2007
@@ -125,12 +125,12 @@ 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 = {"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;