diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
commit | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch) | |
tree | 8ac67e26b45f34d71c5aab3621813b100a0d5f00 /sci-mathematics/octave/files/octave-4.2.0-pkgbuilddir.patch | |
parent | f516638b7fe9592837389826a6152a7e1b251c54 (diff) |
gentoo resync : 13.06.2020
Diffstat (limited to 'sci-mathematics/octave/files/octave-4.2.0-pkgbuilddir.patch')
-rw-r--r-- | sci-mathematics/octave/files/octave-4.2.0-pkgbuilddir.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/sci-mathematics/octave/files/octave-4.2.0-pkgbuilddir.patch b/sci-mathematics/octave/files/octave-4.2.0-pkgbuilddir.patch deleted file mode 100644 index a72ac97c0a15..000000000000 --- a/sci-mathematics/octave/files/octave-4.2.0-pkgbuilddir.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/scripts/pkg/private/install.m -+++ b/scripts/pkg/private/install.m -@@ -62,7 +62,14 @@ - for i = 1:length (files) - tgz = files{i}; - -- if (exist (tgz, "file")) -+ ## The filename pointed to an uncompressed package to begin with. -+ if (exist (tgz, "dir")) -+ if (tgz(1) == '/') -+ packdir = tgz; -+ else -+ packdir = fullfile (pwd(), tgz); -+ endif -+ elseif (exist (tgz, "file")) - ## Create a temporary directory. - tmpdir = tempname (); - tmpdirs{end+1} = tmpdir; -@@ -89,20 +96,12 @@ - if (length (dirlist) > 3) - error ("bundles of packages are not allowed"); - endif -- endif - -- ## The filename pointed to an uncompressed package to begin with. -- if (exist (tgz, "dir")) -- dirlist = {".", "..", tgz}; -+ ## The two first entries of dirlist are "." and "..". -+ packdir = fullfile (tmpdir, dirlist{3}); - endif - - if (exist (tgz, "file") || exist (tgz, "dir")) -- ## The two first entries of dirlist are "." and "..". -- if (exist (tgz, "file")) -- packdir = fullfile (tmpdir, dirlist{3}); -- else -- packdir = fullfile (pwd (), dirlist{3}); -- endif - packdirs{end+1} = packdir; - - ## Make sure the package contains necessary files. |