Browse Source

Merge change from upstream to remove self-conflicting warning.

Submitted by:	se
Joe Clarke 2 years ago
parent
commit
32b943fcac
1 changed files with 1 additions and 6 deletions
  1. 1 6
      portlint.pl

+ 1 - 6
portlint.pl

@@ -2994,12 +2994,7 @@ DIST_SUBDIR EXTRACT_ONLY
 		my %seen;
 		foreach my $conflict (split ' ', $conflicts) {
 			if (not $seen{$conflict}) {
-				`$pkg_version -T '$makevar{PKGBASE}' '$conflict' || $pkg_version -T '$makevar{PKGNAME}' '$conflict'`;
-				my $selfconflict = !$?;
-				if ($selfconflict) {
-					&perror("FATAL", "", -1, "Package conflicts with itself. ".
-						"You should remove \"$conflict\" from CONFLICTS.");
-				} elsif ($conflict =~ m/-\[0-9\]\*$/) {
+				if ($conflict =~ m/-\[0-9\]\*$/) {
 					&perror("WARN", $file, -1, "CONFLICTS definition \"$conflict\" ".
 						"ends in redundant version pattern. ".
 						"You should remove \"-[0-9]*\" from that pattern.");