Update build-essential cookbook
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Cookbook:: build-essential
|
||||
# resource:: build_essential
|
||||
#
|
||||
# Copyright:: 2008-2017, Chef Software, Inc.
|
||||
# Copyright:: 2008-2018, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -30,7 +30,7 @@ action :install do
|
||||
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
|
||||
package %w( gcc44 gcc44-c++ ) if node['platform_version'].to_i < 6
|
||||
package %w( gcc44 gcc44-c++ ) if !platform?('amazon') && node['platform_version'].to_i < 6
|
||||
when 'freebsd'
|
||||
package 'devel/gmake'
|
||||
package 'devel/autoconf'
|
||||
@@ -62,11 +62,13 @@ action :install do
|
||||
package 'bison'
|
||||
package 'gnu-coreutils'
|
||||
package 'flex'
|
||||
package 'gcc' do
|
||||
# lock because we don't use 5 yet
|
||||
version '4.8.2'
|
||||
# lock gcc versions because we don't use 5 yet
|
||||
%w(gcc gcc-c gcc-c++).each do |pkg|
|
||||
package pkg do # ~FC009
|
||||
accept_license true
|
||||
version '4.8.2'
|
||||
end
|
||||
end
|
||||
package 'gcc-3'
|
||||
package 'gnu-grep'
|
||||
package 'gnu-make'
|
||||
package 'gnu-patch'
|
||||
|
||||
Reference in New Issue
Block a user