summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Aumüller <aumuell@reserv.at>2024-11-26 16:59:10 +0100
committerGitHub <noreply@github.com>2024-11-26 16:59:10 +0100
commit38b838e405648210640b9e3aa54f42c3c60ef189 (patch)
tree219e2f7697d81123ec23e897133840042a284340
parentc037188b59e0a988903bd470efb550422b92731e (diff)
downloadspack-38b838e405648210640b9e3aa54f42c3c60ef189.tar.gz
spack-38b838e405648210640b9e3aa54f42c3c60ef189.tar.bz2
spack-38b838e405648210640b9e3aa54f42c3c60ef189.tar.xz
spack-38b838e405648210640b9e3aa54f42c3c60ef189.zip
openscenegraph: remove X11 dependencies for macos (#39037)
-rw-r--r--var/spack/repos/builtin/packages/openscenegraph/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openscenegraph/package.py b/var/spack/repos/builtin/packages/openscenegraph/package.py
index 9d257c5c71..ed8cd8af66 100644
--- a/var/spack/repos/builtin/packages/openscenegraph/package.py
+++ b/var/spack/repos/builtin/packages/openscenegraph/package.py
@@ -58,8 +58,8 @@ class Openscenegraph(CMakePackage):
) # Qt windowing system was moved into separate osgQt project
depends_on("qt@4:", when="@3.2:3.5.4")
depends_on("qt@:4", when="@:3.1")
- depends_on("libxinerama")
- depends_on("libxrandr")
+ depends_on("libxinerama", when="platform=linux")
+ depends_on("libxrandr", when="platform=linux")
depends_on("libpng")
depends_on("jasper")
depends_on("libtiff")