math/octave-forge-base: Allow arbitrary case in Depends fields.
Update to 1.9.
This commit is contained in:
parent
18999e9e85
commit
7149bc44df
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= octave-forge-base
|
PORTNAME= octave-forge-base
|
||||||
PORTVERSION= 1.8
|
PORTVERSION= 1.9
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
MASTER_SITES= #none
|
MASTER_SITES= #none
|
||||||
DISTFILES= #none
|
DISTFILES= #none
|
||||||
|
|
|
@ -98,7 +98,7 @@ while (my $p = <$install_prefix/*>) {
|
||||||
$p =~ s+.*/++;
|
$p =~ s+.*/++;
|
||||||
open(D,"$install_prefix/$p/packinfo/DESCRIPTION") || die $!;
|
open(D,"$install_prefix/$p/packinfo/DESCRIPTION") || die $!;
|
||||||
foreach my $l (<D>) {
|
foreach my $l (<D>) {
|
||||||
if ($l=~s/^Depends:\s*//) {
|
if ($l=~s/^Depends:\s*//i) {
|
||||||
foreach my $ll (split ",",$l) {
|
foreach my $ll (split ",",$l) {
|
||||||
chomp($ll);
|
chomp($ll);
|
||||||
$ll = lc($ll);
|
$ll = lc($ll);
|
||||||
|
@ -195,7 +195,7 @@ foreach my $n (keys %in_tarballs) {
|
||||||
die if $#list_of_files!=0;
|
die if $#list_of_files!=0;
|
||||||
my $descr = $tar->get_content($list_of_files[0]);
|
my $descr = $tar->get_content($list_of_files[0]);
|
||||||
foreach my $l (split /\n/,$descr) {
|
foreach my $l (split /\n/,$descr) {
|
||||||
if ($l=~s/^Depends:\s*//) {
|
if ($l=~s/^Depends:\s*//i) {
|
||||||
foreach my $ll (split ",",$l) {
|
foreach my $ll (split ",",$l) {
|
||||||
$ll = lc($ll);
|
$ll = lc($ll);
|
||||||
$ll =~ s/^\s+//;
|
$ll =~ s/^\s+//;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user