svn commit: r555153 - in head/math/octave-forge-base: . files

Stephen Montgomery-Smith stephen at FreeBSD.org
Sun Nov 15 00:09:08 UTC 2020


Author: stephen
Date: Sun Nov 15 00:09:07 2020
New Revision: 555153
URL: https://svnweb.freebsd.org/changeset/ports/555153

Log:
  - Update to 1.5.
    Add '-W' option to octave-cli so that octave-cli does not attempt to
    contact the X11 server.

Modified:
  head/math/octave-forge-base/Makefile
  head/math/octave-forge-base/files/load-octave-pkg.in

Modified: head/math/octave-forge-base/Makefile
==============================================================================
--- head/math/octave-forge-base/Makefile	Sat Nov 14 23:22:48 2020	(r555152)
+++ head/math/octave-forge-base/Makefile	Sun Nov 15 00:09:07 2020	(r555153)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	octave-forge-base
-PORTVERSION=	1.4
-PORTREVISION=	6
+PORTVERSION=	1.5
 CATEGORIES=	math
 MASTER_SITES=	#none
 DISTFILES=	#none

Modified: head/math/octave-forge-base/files/load-octave-pkg.in
==============================================================================
--- head/math/octave-forge-base/files/load-octave-pkg.in	Sat Nov 14 23:22:48 2020	(r555152)
+++ head/math/octave-forge-base/files/load-octave-pkg.in	Sun Nov 15 00:09:07 2020	(r555153)
@@ -17,7 +17,7 @@ use File::Remove qw(remove);
 
 # Interrogate octave to see where it stores its packages.
 
-open(OCTAVE,"octave-cli -H -q --no-site-file --eval \"pkg('prefix');pkg('global_list')\" |") || die;
+open(OCTAVE,"octave-cli -W -H -q --no-site-file --eval \"pkg('prefix');pkg('global_list')\" |") || die;
 my $install_prefix = <OCTAVE> || die;
 chomp $install_prefix;
 $install_prefix =~ s/.*\s+//;
@@ -76,7 +76,7 @@ while (my $p = <$install_prefix/*>) {
 # out everything.
 
 my %check_installed;
-open(OCTAVE,"octave-cli -H -q --no-site-file --eval \"pkg('list')\" |") || die;
+open(OCTAVE,"octave-cli -W -H -q --no-site-file --eval \"pkg('list')\" |") || die;
 <OCTAVE>;
 my $out = join "",<OCTAVE>;
 while ($out =~ s/^\s*(\S+)\s*\|\s*(\S+).*$//m) {
@@ -159,7 +159,7 @@ if ($nr_to_remove>0) {
   foreach my $p (@ordered_list_to_remove) {
     print "load-octave-pkg: octave is uninstalling $p.\n";
     $p =~ s/\-[\d\.]+\.tar\.gz//;
-    system "octave-cli -H -q --no-site-file --eval \"pkg('uninstall','$p')\" > /dev/null";
+    system "octave-cli -W -H -q --no-site-file --eval \"pkg('uninstall','$p')\" > /dev/null";
   }
 }
 
@@ -240,7 +240,7 @@ make_ordered_list_to_install(join("|",sort keys %to_in
 
 foreach my $p (@ordered_list_to_install) {
   print "load-octave-pkg: octave is installing $p.\n";
-  system "octave-cli -H -q --no-site-file --eval \"pkg('install','$tardir/$p')\" > /dev/null\n";
+  system "octave-cli -W -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


More information about the svn-ports-head mailing list