diff options
author | Hector <10837193+he-b@users.noreply.github.com> | 2020-03-27 11:33:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 11:33:33 -0500 |
commit | fb5afb4cb4326c745e147c8b6d1d5473297ebc78 (patch) | |
tree | ad45c322a0083df2b878e5eb3d7dc653e472d773 | |
parent | 0ca5ad237a7ec10a148325b2c3601c024345788c (diff) | |
download | spack-fb5afb4cb4326c745e147c8b6d1d5473297ebc78.tar.gz spack-fb5afb4cb4326c745e147c8b6d1d5473297ebc78.tar.bz2 spack-fb5afb4cb4326c745e147c8b6d1d5473297ebc78.tar.xz spack-fb5afb4cb4326c745e147c8b6d1d5473297ebc78.zip |
add source-highlight variant to gdb (#15634)
-rw-r--r-- | var/spack/repos/builtin/packages/gdb/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gdb/package.py b/var/spack/repos/builtin/packages/gdb/package.py index 825291feb0..355f59cbdf 100644 --- a/var/spack/repos/builtin/packages/gdb/package.py +++ b/var/spack/repos/builtin/packages/gdb/package.py @@ -33,6 +33,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage): variant('python', default=True, description='Compile with Python support') variant('xz', default=True, description='Compile with lzma support') + variant('source-highlight', default=False, description='Compile with source-highlight support') # Required dependency depends_on('texinfo', type='build') @@ -40,6 +41,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage): # Optional dependencies depends_on('python', when='+python') depends_on('xz', when='+xz') + depends_on('source-highlight', when='+source-highlight') build_directory = 'spack-build' |