From bc34ab470140d120bf67007b611eb0a41418dc7d Mon Sep 17 00:00:00 2001
From: Robert Pavel <rspavel@lanl.gov>
Date: Wed, 19 Aug 2020 00:23:56 -0600
Subject: [PATCH] lua: specified better the dependency on ncurses (needs
 +termlib) (#18163)

Semi-recently the lua spackage was updated to explicitly add libtinfow
to the lua build line. Ncurses provides this but only when the +termlib
variant is enabled
---
 var/spack/repos/builtin/packages/lua/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py
index 28554dae5b..f752fbee32 100644
--- a/var/spack/repos/builtin/packages/lua/package.py
+++ b/var/spack/repos/builtin/packages/lua/package.py
@@ -32,7 +32,7 @@ class Lua(Package):
 
     extendable = True
 
-    depends_on('ncurses')
+    depends_on('ncurses+termlib')
     depends_on('readline')
     # luarocks needs unzip for some packages (e.g. lua-luaposix)
     depends_on('unzip', type='run')
-- 
GitLab