summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-02-26 17:45:29 +0100
committerGitHub <noreply@github.com>2024-02-26 17:45:29 +0100
commit8e885f4eb2c313e31027178d9f63dff80889d0da (patch)
tree30fe5cd82f39f2c41653aca35f7e1c7f32506314 /var
parent116308fa17ff365e8dcb2ca741988bc70694cd28 (diff)
downloadspack-8e885f4eb2c313e31027178d9f63dff80889d0da.tar.gz
spack-8e885f4eb2c313e31027178d9f63dff80889d0da.tar.bz2
spack-8e885f4eb2c313e31027178d9f63dff80889d0da.tar.xz
spack-8e885f4eb2c313e31027178d9f63dff80889d0da.zip
ImageMagick: fewer dependencies on macOS (#42739)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/imagemagick/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/imagemagick/package.py b/var/spack/repos/builtin/packages/imagemagick/package.py
index 318ea03b89..848ac8c254 100644
--- a/var/spack/repos/builtin/packages/imagemagick/package.py
+++ b/var/spack/repos/builtin/packages/imagemagick/package.py
@@ -38,8 +38,8 @@ class Imagemagick(AutotoolsPackage):
depends_on("ghostscript-fonts", when="+ghostscript")
# TODO: are these actually required?
- depends_on("libsm")
- depends_on("libtool")
+ depends_on("libsm", when="platform=linux")
+ depends_on("libtool", when="platform=linux")
def configure_args(self):
args = []