diff options
author | stephen <stephen@FreeBSD.org> | 2015-10-04 09:33:49 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2015-10-04 09:33:49 +0800 |
commit | 8a943c94da93f0d55924841714e4bf301fea639d (patch) | |
tree | a4bd44b85f9e36673fd7521ac2d87e205b53103c /math | |
parent | dac6a6053a9ced8a8f0deb53b7153f577a865fcc (diff) | |
download | freebsd-ports-gnome-8a943c94da93f0d55924841714e4bf301fea639d.tar.gz freebsd-ports-gnome-8a943c94da93f0d55924841714e4bf301fea639d.tar.zst freebsd-ports-gnome-8a943c94da93f0d55924841714e4bf301fea639d.zip |
- Add rmdir $prefix/lib/octave/packages to the end of the installation script.
This is because the octave packaging process can fail to delete this
directory when it becomes empty.
- Update to 1.3.
Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru>
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-forge-base/Makefile | 3 | ||||
-rw-r--r-- | math/octave-forge-base/files/load-octave-pkg.in | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/math/octave-forge-base/Makefile b/math/octave-forge-base/Makefile index 085db2a42698..36d1062133ed 100644 --- a/math/octave-forge-base/Makefile +++ b/math/octave-forge-base/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= octave-forge-base -PORTVERSION= 1.2 -PORTREVISION= 6 +PORTVERSION= 1.3 CATEGORIES= math MASTER_SITES= #none DISTFILES= #none diff --git a/math/octave-forge-base/files/load-octave-pkg.in b/math/octave-forge-base/files/load-octave-pkg.in index 6e71ae6e08ed..3c305c6d723f 100644 --- a/math/octave-forge-base/files/load-octave-pkg.in +++ b/math/octave-forge-base/files/load-octave-pkg.in @@ -240,3 +240,8 @@ foreach my $p (@ordered_list_to_install) { print "load-octave-pkg: octave is installing $p.\n"; system "octave -H -q --no-site-file --eval \"pkg('install','$tardir/$p')\" > /dev/null\n"; } + +# Remove directories that may have been left behind by the octave packaging +# process. + +rmdir "$prefix/lib/octave/packages"; |