|
@@ -593,7 +593,6 @@ sub checkplist {
|
|
|
my $owner_seen = 0;
|
|
|
my $group_seen = 0;
|
|
|
my $found_so = 0;
|
|
|
- my $found_naked_so = 0;
|
|
|
|
|
|
# Variables that are allowed to be out-of-sync in the XXXDIR check.
|
|
|
# E.g., %%PORTDOCS%%%%RUBY_MODDOCDIR%% will be OK because there is
|
|
@@ -809,10 +808,8 @@ sub checkplist {
|
|
|
$makevar{USE_LDCONFIG} eq '') {
|
|
|
&perror("WARN", $file, $., "installing shared libraries, ".
|
|
|
"please define USE_LDCONFIG as appropriate");
|
|
|
- } elsif ($_ =~ m|lib[^\/]+\.so\.\d+$|) {
|
|
|
+ } elsif ($_ =~ m|lib[^\/]+\.so[.\d]*$|) {
|
|
|
$found_so++;
|
|
|
- } elsif ($_ =~ m|lib[^\/]+\.so$|) {
|
|
|
- $found_naked_so++;
|
|
|
}
|
|
|
|
|
|
if ($_ =~ m|^share/icons/.*/| &&
|
|
@@ -947,14 +944,8 @@ sub checkplist {
|
|
|
}
|
|
|
|
|
|
if ($makevar{USE_LDCONFIG} ne '' && !$found_so) {
|
|
|
- if ($found_naked_so) {
|
|
|
- &perror("WARN", $file, -1, "You have defined USE_LDCONFIG, but this ".
|
|
|
- "port does not install shared objects in the format lib*.so.[0-9] ".
|
|
|
- "which ldconfig(8) needs to register them in the hints file.");
|
|
|
- } else {
|
|
|
- &perror("WARN", $file, -1, "You have defined USE_LDCONFIG, but this ".
|
|
|
- "port does not install any shared objects.");
|
|
|
- }
|
|
|
+ &perror("WARN", $file, -1, "You have defined USE_LDCONFIG, but this ".
|
|
|
+ "port does not install any shared objects.");
|
|
|
}
|
|
|
|
|
|
close(IN);
|