summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsknigh <sknigh@sandia.gov>2017-08-16 18:46:12 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-08-16 20:46:12 -0500
commitdd790fdaaeebbf9e1d0c3a888abad3b7d49903e5 (patch)
tree34cc1952a8d522b6ad0a89b35cb69b3aab08ee53 /var
parent4c32b0ad56f299a83c4ef4cbbc383f55f2637e3d (diff)
downloadspack-dd790fdaaeebbf9e1d0c3a888abad3b7d49903e5.tar.gz
spack-dd790fdaaeebbf9e1d0c3a888abad3b7d49903e5.tar.bz2
spack-dd790fdaaeebbf9e1d0c3a888abad3b7d49903e5.tar.xz
spack-dd790fdaaeebbf9e1d0c3a888abad3b7d49903e5.zip
add missing dependencies to elfutils (#5135)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elfutils/package.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py
index b49ac4a53b..c7e614cad5 100644
--- a/var/spack/repos/builtin/packages/elfutils/package.py
+++ b/var/spack/repos/builtin/packages/elfutils/package.py
@@ -35,14 +35,22 @@ class Elfutils(AutotoolsPackage):
homepage = "https://fedorahosted.org/elfutils/"
- url = "https://sourceware.org/elfutils/ftp/0.168/elfutils-0.168.tar.bz2"
+ url = "https://sourceware.org/elfutils/ftp/0.168/elfutils-0.168.tar.bz2"
list_url = "https://sourceware.org/elfutils/ftp"
list_depth = 1
+ version('0.170', '03599aee98c9b726c7a732a2dd0245d5')
version('0.168', '52adfa40758d0d39e5d5c57689bf38d6')
version('0.163', '77ce87f259987d2e54e4d87b86cbee41', preferred=True)
+ depends_on('flex', type='build')
+ depends_on('bison', type='build')
+ depends_on('gettext')
+
provides('elf@1')
def configure_args(self):
- return ['--enable-maintainer-mode']
+ # configure doesn't use LIBS correctly
+ return [
+ 'LDFLAGS=-L%s -lintl' % self.spec['gettext'].prefix.lib,
+ '--enable-maintainer-mode']