|
@@ -244,7 +244,12 @@ sub get_ports_version {
|
|
|
my $port = shift;
|
|
|
|
|
|
chdir "$port" || return undef;
|
|
|
- my $cmd = 'make show-indexed=FULLPKGNAME';
|
|
|
+ my $show = 'show';
|
|
|
+ my @uname = POSIX::uname();
|
|
|
+ if ($uname[2] > 6.4) {
|
|
|
+ $show .= '-indexed';
|
|
|
+ }
|
|
|
+ my $cmd = "make $show=FULLPKGNAME";
|
|
|
my $pkgname = '';
|
|
|
|
|
|
open(my $in, "$cmd 2>&1 |")
|