From 7149bc44df010afccddd36290d3d81297bc51c47 Mon Sep 17 00:00:00 2001 From: Stephen Montgomery-Smith Date: Fri, 13 Jan 2023 12:36:13 -0600 Subject: [PATCH] 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 () { - 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+//;