diff --git a/var/spack/repos/builtin/packages/fdupes/package.py b/var/spack/repos/builtin/packages/fdupes/package.py index 53f594840f..0d5792b824 100644 --- a/var/spack/repos/builtin/packages/fdupes/package.py +++ b/var/spack/repos/builtin/packages/fdupes/package.py @@ -20,6 +20,7 @@ class Fdupes(AutotoolsPackage): variant('ncurses', default=True, description='ncurses support') depends_on('ncurses', when='+ncurses') + depends_on('pcre2', when='+ncurses') def configure_args(self): return self.with_or_without('ncurses')