From 668fb7f5ddeaf36193aa5f35acb20010e8b45dae Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 22 Mar 2023 03:49:41 -0500 Subject: grep: fix +pcre in 3.9 (#36169) --- var/spack/repos/builtin/packages/grep/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = [] -- cgit v1.2.3-70-g09d2