cmmi: require Class[gcc]

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-11 17:40:18 +02:00
parent 0a2fbf4aee
commit bb716e8a49
1 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,9 @@
# #
# Requires: # Requires:
# #
# wget
# tar # tar
# gcc
# #
# Sample Usage: # Sample Usage:
# #
@ -44,6 +46,7 @@ define cmmi(
include wget include wget
include tar include tar
include gcc
exec { "download-${name}": exec { "download-${name}":
cwd => $cwd, cwd => $cwd,
@ -78,7 +81,10 @@ define cmmi(
cwd => $src, cwd => $src,
command => $make, command => $make,
creates => $creates, creates => $creates,
require => Exec["configure-${name}"], require => [
Exec["configure-${name}"],
Class['gcc']
],
timeout => $make_timeout timeout => $make_timeout
} }
} }