diff --git a/var/spack/repos/builtin/packages/stc/package.py b/var/spack/repos/builtin/packages/stc/package.py index 2227b50c31..0f32f04d63 100644 --- a/var/spack/repos/builtin/packages/stc/package.py +++ b/var/spack/repos/builtin/packages/stc/package.py @@ -34,10 +34,10 @@ class Stc(AutotoolsPackage): version('0.8.2', '883b0657f1aac9b81158ef0a8989be4c') - depends_on('java') - depends_on('ant') - depends_on('turbine') - depends_on('zsh') + depends_on('java', type=('build', 'run')) + depends_on('ant', type='build') + depends_on('turbine', type=('build', 'run')) + depends_on('zsh', type=('build', 'run')) def configure_args(self): args = ['--with-turbine=' + self.spec['turbine'].prefix] diff --git a/var/spack/repos/builtin/packages/turbine/package.py b/var/spack/repos/builtin/packages/turbine/package.py index 75e3f67a7a..b5abaf337c 100644 --- a/var/spack/repos/builtin/packages/turbine/package.py +++ b/var/spack/repos/builtin/packages/turbine/package.py @@ -43,8 +43,8 @@ class Turbine(AutotoolsPackage): depends_on('adlbx@:0.8.0', when='@:1.1.0') depends_on('adlbx', when='@1.2.1:') depends_on('adlbx') - depends_on('tcl') - depends_on('zsh') + depends_on('tcl', type=('build', 'run')) + depends_on('zsh', type=('build', 'run')) depends_on('swig', type='build') depends_on('python', when='+python') depends_on('r', when='+r')