diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/vim/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/vim/package.py b/var/spack/repos/builtin/packages/vim/package.py index 394caaa1ae..a022af0218 100644 --- a/var/spack/repos/builtin/packages/vim/package.py +++ b/var/spack/repos/builtin/packages/vim/package.py @@ -81,7 +81,10 @@ class Vim(AutotoolsPackage): configure_args = ["--enable-fail-if-missing"] - configure_args.append("--with-tlib=ncursesw") + if '+termlib' in spec['ncurses']: + configure_args.append("--with-tlib=tinfow") + else: + configure_args.append("--with-tlib=ncursesw") configure_args.append("--with-features=" + feature_set) |