Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add freebsd to KERNELnames
since we have freebsd in PERL.DISTROnames (at least for moar)
and in KERNEL.name (for all backends)
  • Loading branch information
usev6 committed Sep 17, 2014
1 parent 5753dcc commit 7fa4eef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/core/Kernel.pm
Expand Up @@ -14,7 +14,8 @@ class Kernel does Systemic {
method name {
$!name //= do {
given $*DISTRO.name {
when any <linux macosx freebsd> { # needs adapting
# needs adapting, also $*PERL.KERNELnames in src/core/Perl.pm
when any <linux macosx freebsd> {
qx/uname -s/.chomp.lc;
}
default {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Perl.pm
Expand Up @@ -24,7 +24,7 @@ class Perl does Systemic {
)
}

method KERNELnames { <darwin linux win32> }
method KERNELnames { <darwin linux freebsd win32> }
}

multi sub INITIALIZE_DYNAMIC('$*PERL') {
Expand Down

0 comments on commit 7fa4eef

Please sign in to comment.