On Sun, Jul 07 2019, Kurt Mosiejczuk <[email protected]> wrote:
> I found this remnant of Linux emulation support. This diff excises it.
ok jca@
> --Kurt
>
> Index: check-lib-depends
> ===================================================================
> RCS file: /cvs/ports/infrastructure/bin/check-lib-depends,v
> retrieving revision 1.44
> diff -u -p -r1.44 check-lib-depends
> --- check-lib-depends 12 May 2019 20:40:20 -0000 1.44
> +++ check-lib-depends 7 Jul 2019 22:16:30 -0000
> @@ -145,11 +145,7 @@ sub is_binary
> my $item = shift;
> my $fullname = File::Spec->canonpath($item->fullname);
>
> - my $linux_bin = 0;
> - if ($fullname =~ m,^/usr/local/emul/(?:redhat|fedora)/,) {
> - $linux_bin = 1;
> - }
> - if ($linux_bin || $item->{symlink} || $item->{link}) {
> + if ($item->{symlink} || $item->{link}) {
> return 0;
> } else {
> return $fullname;
>
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE