summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/botan/package.py
diff options
context:
space:
mode:
authorMartin Aumüller <aumuell@reserv.at>2023-08-17 08:34:43 +0200
committerGitHub <noreply@github.com>2023-08-17 08:34:43 +0200
commit90d0d0176ca9aed248eacf39f6a2f6e925107c1a (patch)
tree5eb6be0777d80766b1c32e62667265b07a3d022c /var/spack/repos/builtin/packages/botan/package.py
parent72b9f8950479ee0b30fc716f94e6e85601412086 (diff)
downloadspack-90d0d0176ca9aed248eacf39f6a2f6e925107c1a.tar.gz
spack-90d0d0176ca9aed248eacf39f6a2f6e925107c1a.tar.bz2
spack-90d0d0176ca9aed248eacf39f6a2f6e925107c1a.tar.xz
spack-90d0d0176ca9aed248eacf39f6a2f6e925107c1a.zip
botan: version 3 requires newer GCC (#39450)
e.g. 3.1.1 produces this during configuration when trying to install: ERROR: This version of Botan requires at least gcc 11.0
Diffstat (limited to 'var/spack/repos/builtin/packages/botan/package.py')
-rw-r--r--var/spack/repos/builtin/packages/botan/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/botan/package.py b/var/spack/repos/builtin/packages/botan/package.py
index 9935861ef3..57d1e79975 100644
--- a/var/spack/repos/builtin/packages/botan/package.py
+++ b/var/spack/repos/builtin/packages/botan/package.py
@@ -43,6 +43,8 @@ class Botan(MakefilePackage):
depends_on("python", type="build")
depends_on("py-sphinx@1.2:", type="build", when="+doc")
+ conflicts("%gcc@:10", when="@3:")
+
def edit(self, spec, prefix):
configure = Executable("./configure.py")
configure(*self.configure_args())