From 161485a774d5c0c1804617dc53ed9543e8a97b1b Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Sat, 15 Apr 2023 14:16:41 +0200 Subject: cairo: add a dependency on which (#36908) --- var/spack/repos/builtin/packages/cairo/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py index 7f34a8859f..4035728e2e 100644 --- a/var/spack/repos/builtin/packages/cairo/package.py +++ b/var/spack/repos/builtin/packages/cairo/package.py @@ -57,6 +57,7 @@ class Cairo(AutotoolsPackage): depends_on("freetype", when="+ft") depends_on("pkgconfig", type="build") depends_on("fontconfig@2.10.91:", when="+fc") # Require newer version of fontconfig. + depends_on("which", type="build") conflicts("+png", when="platform=darwin") conflicts("+svg", when="platform=darwin") -- cgit v1.2.3-70-g09d2