summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-03-22 03:49:41 -0500
committerGitHub <noreply@github.com>2023-03-22 09:49:41 +0100
commit668fb7f5ddeaf36193aa5f35acb20010e8b45dae (patch)
treec2746f5e980e8e922ca8c6ccc08304d4b89f6dd1
parente1a5228a1657480eb2c30968765c7930de3f2c8c (diff)
downloadspack-668fb7f5ddeaf36193aa5f35acb20010e8b45dae.tar.gz
spack-668fb7f5ddeaf36193aa5f35acb20010e8b45dae.tar.bz2
spack-668fb7f5ddeaf36193aa5f35acb20010e8b45dae.tar.xz
spack-668fb7f5ddeaf36193aa5f35acb20010e8b45dae.zip
grep: fix +pcre in 3.9 (#36169)
-rw-r--r--var/spack/repos/builtin/packages/grep/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/grep/package.py b/var/spack/repos/builtin/packages/grep/package.py
index 61e7b2db8c..119088ebf5 100644
--- a/var/spack/repos/builtin/packages/grep/package.py
+++ b/var/spack/repos/builtin/packages/grep/package.py
@@ -20,7 +20,8 @@ class Grep(AutotoolsPackage):
build_directory = "spack-build"
- depends_on("pcre", when="+pcre")
+ depends_on("pcre2", when="@3.8:+pcre")
+ depends_on("pcre", when="@:3.7+pcre")
def configure_args(self):
args = []