diff options
author | Greg Becker <becker33@llnl.gov> | 2019-07-23 10:13:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 10:13:41 -0500 |
commit | 4ff277370410e0551ed4a21da87d3da39d63638e (patch) | |
tree | a522e99e67fd0ae792a33051bff117d59d62d37f | |
parent | 7ea4e50587769c9fb021ed1ecd28f1a45bffc3c9 (diff) | |
download | spack-4ff277370410e0551ed4a21da87d3da39d63638e.tar.gz spack-4ff277370410e0551ed4a21da87d3da39d63638e.tar.bz2 spack-4ff277370410e0551ed4a21da87d3da39d63638e.tar.xz spack-4ff277370410e0551ed4a21da87d3da39d63638e.zip |
ncurses: remove TERMINFO from build env (#12086)
-rw-r--r-- | var/spack/repos/builtin/packages/ncurses/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
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), |