summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gnuplot/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gnuplot/package.py b/var/spack/repos/builtin/packages/gnuplot/package.py
index 9fb79e6746..59e527fcde 100644
--- a/var/spack/repos/builtin/packages/gnuplot/package.py
+++ b/var/spack/repos/builtin/packages/gnuplot/package.py
@@ -122,7 +122,7 @@ class Gnuplot(AutotoolsPackage):
options.append('--with-qt=no')
if '+wx' in spec:
- options.append('--with-wx=%s' % spec['wx'].prefix)
+ options.append('--with-wx=%s' % spec['wxwidgets'].prefix)
else:
options.append('--disable-wxwidgets')