sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-08 05:21:37 +00:00
parent ec769495ab
commit f5034afcba
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
3108 changed files with 91999 additions and 80269 deletions

View file

@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
# $OpenBSD: PkgPath.pm,v 1.67 2023/05/06 05:20:31 espie Exp $
# $OpenBSD: PkgPath.pm,v 1.69 2023/09/03 16:13:26 espie Exp $
#
# Copyright (c) 2010-2013 Marc Espie <espie@openbsd.org>
#
@ -71,8 +71,8 @@ sub check_path($class, $w, $p)
my $k = $w->fullpkgname;
$lock_bypkgname->{$k} //= $lock;
if ($lock_bypkgname->{$k} ne $lock) {
return " has inconsistent lockname $lock for $k ",
"(is also $lock_bypkgname->{$k})\n";
return " has inconsistent lockname $lock for $k ".
"(is also $lock_bypkgname->{$k})";
}
return undef;
}
@ -84,6 +84,7 @@ sub sanity_check($class, $state)
next if defined $p->{category};
next unless defined $p->{info};
for my $w ($p->build_path_list) {
next if defined $w->{info} and $w->{info}->is_stub;
my $reason = $class->check_path($w, $p);
if (defined $reason) {
$reason = $w->fullpkgpath.$reason;