diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/build_essential.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb index 7998006398..fb9ef814a5 100644 --- a/lib/chef/resource/build_essential.rb +++ b/lib/chef/resource/build_essential.rb @@ -40,7 +40,7 @@ class Chef declare_resource(:package, %w{ autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch }) # Ensure GCC 4 is available on older pre-6 EL - declare_resource(:package, %w{ gcc44 gcc44-c++ }) if node["platform_version"].to_i < 6 + declare_resource(:package, %w{ gcc44 gcc44-c++ }) if platform_family?("rhel") && node["platform_version"].to_i < 6 when "freebsd" declare_resource(:package, "devel/gmake") declare_resource(:package, "devel/autoconf") |