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
This commit is contained in:
Martin Aumüller 2023-08-17 08:34:43 +02:00 committed by GitHub
parent 72b9f89504
commit 90d0d0176c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())