diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2013-10-31 11:26:52 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2013-10-31 11:26:52 +0000 |
commit | caee0f4bdcd85bb0479b125e3000d14bebf73202 (patch) | |
tree | aa262484e7f7659c35f15436c977aaf6410d5f4e /sysutils | |
parent | fd5243e7bf956725a9b328a36200ba1d5d90d72a (diff) | |
download | ports-caee0f4bdcd85bb0479b125e3000d14bebf73202.tar.gz ports-caee0f4bdcd85bb0479b125e3000d14bebf73202.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/rubygem-facter/files/patch-lib-facter-processor.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb b/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb new file mode 100644 index 000000000000..ae77e26caad8 --- /dev/null +++ b/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb @@ -0,0 +1,19 @@ +--- lib/facter/processor.rb.orig 2013-04-30 19:57:21.000000000 +0400 ++++ lib/facter/processor.rb 2013-04-30 19:58:19.000000000 +0400 +@@ -88,14 +88,14 @@ + end + + Facter.add("Processor") do +- confine :kernel => :openbsd ++ confine :kernel => [ :openbsd, :freebsd ] + setcode do + Facter::Util::Resolution.exec("uname -p") + end + end + + Facter.add("ProcessorCount") do +- confine :kernel => :openbsd ++ confine :kernel => [ :openbsd, :freebsd ] + setcode do + Facter::Util::Resolution.exec("sysctl -n hw.ncpu") + end |