summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>2023-04-15 14:16:41 +0200
committerGitHub <noreply@github.com>2023-04-15 14:16:41 +0200
commit161485a774d5c0c1804617dc53ed9543e8a97b1b (patch)
treeb96b5b1f51ac630c736ba55b4b571faf79658975
parentb6c3cbff6f48c012d97b9e907d6836ed8e8d5287 (diff)
downloadspack-161485a774d5c0c1804617dc53ed9543e8a97b1b.tar.gz
spack-161485a774d5c0c1804617dc53ed9543e8a97b1b.tar.bz2
spack-161485a774d5c0c1804617dc53ed9543e8a97b1b.tar.xz
spack-161485a774d5c0c1804617dc53ed9543e8a97b1b.zip
cairo: add a dependency on which (#36908)
-rw-r--r--var/spack/repos/builtin/packages/cairo/package.py1
1 files changed, 1 insertions, 0 deletions
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")