summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-08-09 02:27:57 -0500
committerGitHub <noreply@github.com>2021-08-09 09:27:57 +0200
commitff9c7380e809ff830e8d6d05339987f7de9f3943 (patch)
tree0a69177252b096b224fc7dc6132937b919c8cd80
parentc37aee4620d14140582fd5d951605ff0988c131e (diff)
downloadspack-ff9c7380e809ff830e8d6d05339987f7de9f3943.tar.gz
spack-ff9c7380e809ff830e8d6d05339987f7de9f3943.tar.bz2
spack-ff9c7380e809ff830e8d6d05339987f7de9f3943.tar.xz
spack-ff9c7380e809ff830e8d6d05339987f7de9f3943.zip
r-cairo: add an explicit dependency on libxt (#25309)
Since r-cairo will always look for X libraries, and likely find them on the system, make it always depend on r+X.
-rw-r--r--var/spack/repos/builtin/packages/r-cairo/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-cairo/package.py b/var/spack/repos/builtin/packages/r-cairo/package.py
index c2a48a953c..e600f0d7ac 100644
--- a/var/spack/repos/builtin/packages/r-cairo/package.py
+++ b/var/spack/repos/builtin/packages/r-cairo/package.py
@@ -31,5 +31,7 @@ class RCairo(RPackage):
version('1.5-10', sha256='7837f0c384cd49bb3342cb39a916d7a80b02fffbf123913a58014e597f69b5d5')
version('1.5-9', sha256='2a867b6cae96671d6bc3acf9334d6615dc01f6ecf1953a27cde8a43c724a38f4')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.4.0:', type=('build', 'run'))
depends_on('cairo@1.2:')
+ depends_on('libxt')