From 4b996e9f499e801db4ce211be79ce56d2ce75678 Mon Sep 17 00:00:00 2001 From: Sam Bateman Date: Tue, 25 Jul 2017 17:08:34 -0500 Subject: tmux should not set PKG_CONFIG_PATH (#4901) * fixes #967 * Version bump to 0.9.1 - Bugfixes for spack find - 0.9.1 can read specs from current develop. * Don't assume spack is in the path when building docs. * Remove PKG_CONFIG_PATH from tmux configure * Change tmux to AutotoolsPackage * Correct link to libtinfo in tmux --- var/spack/repos/builtin/packages/tmux/package.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/var/spack/repos/builtin/packages/tmux/package.py b/var/spack/repos/builtin/packages/tmux/package.py index 63d6c943b8..a3a8e5ad89 100644 --- a/var/spack/repos/builtin/packages/tmux/package.py +++ b/var/spack/repos/builtin/packages/tmux/package.py @@ -25,7 +25,7 @@ from spack import * -class Tmux(Package): +class Tmux(AutotoolsPackage): """Tmux is a terminal multiplexer. What is a terminal multiplexer? It lets you switch easily between several @@ -45,15 +45,5 @@ class Tmux(Package): depends_on('libevent') depends_on('ncurses') - def install(self, spec, prefix): - pkg_config_path = ':'.join([ - spec['libevent'].prefix, - spec['ncurses'].prefix - ]) - - configure( - "--prefix=%s" % prefix, - "PKG_CONFIG_PATH=%s" % pkg_config_path) - - make() - make("install") + def configure_args(self): + return ['LIBTINFO_LIBS=-lncurses'] -- cgit v1.2.3-70-g09d2