From c2def5c2f443caf603805185f6b2cd33dcbaa1cd Mon Sep 17 00:00:00 2001 From: Ben Bergen Date: Sun, 5 Dec 2021 08:02:23 -0700 Subject: cgdb: add depends_on('gdb', type='run') (#27753) * Added gdb Dependency When using spack to install cgdb, a spack-built gdb is necessary to avoid dynamic link errors. - Added maintainer: tuxfan - Set preferred to 'master' (best version for spack currently) * Update: The gdb dependency added by this PR is for runtime Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> --- var/spack/repos/builtin/packages/cgdb/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/cgdb/package.py b/var/spack/repos/builtin/packages/cgdb/package.py index 6c9ae9dacd..d5d920d926 100644 --- a/var/spack/repos/builtin/packages/cgdb/package.py +++ b/var/spack/repos/builtin/packages/cgdb/package.py @@ -9,15 +9,17 @@ from spack import * class Cgdb(AutotoolsPackage): """A curses front-end to GDB""" + maintainers = ['tuxfan'] homepage = 'https://cgdb.github.io' url = 'https://cgdb.me/files/cgdb-0.7.1.tar.gz' git = 'https://github.com/cgdb/cgdb.git' - version('master', branch='master', submodule=False, preferred=False) + version('master', branch='master', submodule=False, preferred=True) version('0.7.1', sha256='bb723be58ec68cb59a598b8e24a31d10ef31e0e9c277a4de07b2f457fe7de198') version('0.7.0', sha256='bf7a9264668db3f9342591b08b2cc3bbb08e235ba2372877b4650b70c6fb5423') # Required dependency + depends_on('gdb', type='run') depends_on('ncurses') depends_on('readline') depends_on('autoconf', type='build', when='@master') -- cgit v1.2.3-70-g09d2