git: 7149bc44df01 - main - math/octave-forge-base: Allow arbitrary case in Depends fields.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Fri, 13 Jan 2023 18:37:03 UTC
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7149bc44df010afccddd36290d3d81297bc51c47

commit 7149bc44df010afccddd36290d3d81297bc51c47
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2023-01-13 18:36:13 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2023-01-13 18:36:13 +0000

    math/octave-forge-base: Allow arbitrary case in Depends fields.
    
    Update to 1.9.
---
 math/octave-forge-base/Makefile                 | 2 +-
 math/octave-forge-base/files/load-octave-pkg.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/octave-forge-base/Makefile b/math/octave-forge-base/Makefile
index e08bbfcc26f4..571d612d9dbd 100644
--- a/math/octave-forge-base/Makefile
+++ b/math/octave-forge-base/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	octave-forge-base
-PORTVERSION=	1.8
+PORTVERSION=	1.9
 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 fc0a9876b2f9..4d1ca8ec630b 100644
--- a/math/octave-forge-base/files/load-octave-pkg.in
+++ b/math/octave-forge-base/files/load-octave-pkg.in
@@ -98,7 +98,7 @@ while (my $p = <$install_prefix/*>) {
   $p =~ s+.*/++;
   open(D,"$install_prefix/$p/packinfo/DESCRIPTION") || die $!;
   foreach my $l (<D>) {
-    if ($l=~s/^Depends:\s*//) {
+    if ($l=~s/^Depends:\s*//i) {
       foreach my $ll (split ",",$l) {
         chomp($ll);
         $ll = lc($ll);
@@ -195,7 +195,7 @@ foreach my $n (keys %in_tarballs) {
       die if $#list_of_files!=0;
       my $descr = $tar->get_content($list_of_files[0]);
       foreach my $l (split /\n/,$descr) {
-        if ($l=~s/^Depends:\s*//) {
+        if ($l=~s/^Depends:\s*//i) {
           foreach my $ll (split ",",$l) {
             $ll = lc($ll);
             $ll =~ s/^\s+//;