|
@@ -3010,6 +3010,10 @@ DIST_SUBDIR EXTRACT_ONLY
|
|
|
if ($selfconflict) {
|
|
|
&perror("FATAL", "", -1, "Package conflicts with itself. ".
|
|
|
"You should remove \"$conflict\" from CONFLICTS.");
|
|
|
+ } elsif ($conflict =~ m/-\[0-9\]\*$/) {
|
|
|
+ &perror("WARN", $file, -1, "CONFLICTS definition \"$conflict\" ".
|
|
|
+ "ends in redundant version pattern. ".
|
|
|
+ "You should remove \"-[0-9]*\" from that pattern.");
|
|
|
}
|
|
|
$seen{$conflict} = 1;
|
|
|
}
|