summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSam Bateman <samuel.bateman@gmail.com>2017-07-25 17:08:34 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2017-07-25 17:08:34 -0500
commit4b996e9f499e801db4ce211be79ce56d2ce75678 (patch)
tree43e2e6bf31326c6b500d2b8cedc1fd82276c7c68 /var
parent30f6d2ab9026fea79fb6623f80bf51a68df16818 (diff)
downloadspack-4b996e9f499e801db4ce211be79ce56d2ce75678.tar.gz
spack-4b996e9f499e801db4ce211be79ce56d2ce75678.tar.bz2
spack-4b996e9f499e801db4ce211be79ce56d2ce75678.tar.xz
spack-4b996e9f499e801db4ce211be79ce56d2ce75678.zip
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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tmux/package.py16
1 files 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']