Skip to content

Commit

Permalink
math/octave-forge-base: Allow arbitrary case in Depends fields.
Browse files Browse the repository at this point in the history
Update to 1.9.
  • Loading branch information
Stephen Montgomery-Smith authored and Stephen Montgomery-Smith committed Jan 13, 2023
1 parent 18999e9 commit 7149bc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
4 changes: 2 additions & 2 deletions math/octave-forge-base/files/load-octave-pkg.in
Expand Up @@ -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);
Expand Down Expand Up @@ -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+//;
Expand Down

0 comments on commit 7149bc4

Please sign in to comment.