From d71f8dcab5b6e760df0b145e1cc08d89cd596d5f Mon Sep 17 00:00:00 2001 From: Tom Merrick Date: Tue, 20 Sep 2016 04:27:19 -0500 Subject: [PATCH] samtools could not find the ncurses library (#1785) --- var/spack/repos/builtin/packages/samtools/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/samtools/package.py b/var/spack/repos/builtin/packages/samtools/package.py index 6b0b224785..b82a7e55d6 100644 --- a/var/spack/repos/builtin/packages/samtools/package.py +++ b/var/spack/repos/builtin/packages/samtools/package.py @@ -42,7 +42,8 @@ class Samtools(Package): def install(self, spec, prefix): if self.spec.version >= Version('1.3.1'): - configure('--prefix={0}'.format(prefix), '--with-ncurses') + configure('--prefix={0}'.format(prefix), '--with-ncurses', + 'CURSES_LIB=-lncurses') make() make('install') else: