summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn P Johnson <glenn-johnson@uiowa.edu>2020-02-09 14:59:30 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2020-02-10 10:25:35 -0800
commit37a6b8d54f7562b561c4197af62ccf54d4a7f192 (patch)
tree83f145d12714952364a0eecff3067463862464f4 /var
parentc77eeca61ed21ac19a757e27581f336dcd6af912 (diff)
downloadspack-37a6b8d54f7562b561c4197af62ccf54d4a7f192.tar.gz
spack-37a6b8d54f7562b561c4197af62ccf54d4a7f192.tar.bz2
spack-37a6b8d54f7562b561c4197af62ccf54d4a7f192.tar.xz
spack-37a6b8d54f7562b561c4197af62ccf54d4a7f192.zip
Fix vim build with ^ncurses+termlib
This PR will set the approriate library if ncurses is built with a separate tinfo library.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vim/package.py5
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)