From 4ff277370410e0551ed4a21da87d3da39d63638e Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Tue, 23 Jul 2019 10:13:41 -0500 Subject: [PATCH] ncurses: remove TERMINFO from build env (#12086) --- var/spack/repos/builtin/packages/ncurses/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/ncurses/package.py b/var/spack/repos/builtin/packages/ncurses/package.py index 3104f4036f..383c0bf1d5 100644 --- a/var/spack/repos/builtin/packages/ncurses/package.py +++ b/var/spack/repos/builtin/packages/ncurses/package.py @@ -33,6 +33,9 @@ class Ncurses(AutotoolsPackage): patch('patch_gcc_5.txt', when='@6.0%gcc@5.0:') patch('sed_pgi.patch', when='@:6.0') + def setup_environment(self, spack_env, run_env): + spack_env.unset('TERMINFO') + def configure(self, spec, prefix): opts = [ 'CFLAGS={0}'.format(self.compiler.pic_flag),