aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2013-10-31 11:26:52 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2013-10-31 11:26:52 +0000
commitcaee0f4bdcd85bb0479b125e3000d14bebf73202 (patch)
treeaa262484e7f7659c35f15436c977aaf6410d5f4e /sysutils
parentfd5243e7bf956725a9b328a36200ba1d5d90d72a (diff)
downloadports-caee0f4bdcd85bb0479b125e3000d14bebf73202.tar.gz
ports-caee0f4bdcd85bb0479b125e3000d14bebf73202.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rubygem-facter/files/patch-lib-facter-processor.rb19
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