Skip to content
Snippets Groups Projects
Commit dceb6674 authored by Federico Ficarelli's avatar Federico Ficarelli Committed by Massimiliano Culpo
Browse files

Fix +readline handling (#7048)

parent d6a43f18
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ class Slurm(AutotoolsPackage): ...@@ -65,7 +65,7 @@ class Slurm(AutotoolsPackage):
depends_on('munge') depends_on('munge')
depends_on('openssl') depends_on('openssl')
depends_on('pkgconfig', type='build') depends_on('pkgconfig', type='build')
depends_on('readline') depends_on('readline', when='+readline')
depends_on('zlib') depends_on('zlib')
depends_on('gtkplus+X', when='+gtk') depends_on('gtkplus+X', when='+gtk')
...@@ -89,9 +89,7 @@ def configure_args(self): ...@@ -89,9 +89,7 @@ def configure_args(self):
if '~gtk' in spec: if '~gtk' in spec:
args.append('--disable-gtktest') args.append('--disable-gtktest')
if '+readline' in spec: if '~readline' in spec:
args.append('--with-readline={0}'.format(spec['readline'].prefix))
else:
args.append('--without-readline') args.append('--without-readline')
if '+hdf5' in spec: if '+hdf5' in spec:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment