diff --git a/var/spack/repos/spack_repo/builtin/packages/perl/package.py b/var/spack/repos/spack_repo/builtin/packages/perl/package.py index 5066fdef09e..59880fb509b 100644 --- a/var/spack/repos/spack_repo/builtin/packages/perl/package.py +++ b/var/spack/repos/spack_repo/builtin/packages/perl/package.py @@ -10,8 +10,6 @@ from spack_repo.builtin.build_systems.generic import Package from llnl.util.filesystem import windows_sfn -from llnl.util.lang import match_predicate -from llnl.util.symlink import symlink from spack.operating_systems.mac_os import macos_version from spack.package import * @@ -580,23 +578,6 @@ def make_briefly_writable(self, path): yield os.chmod(path, perm) - # ======================================================================== - # Handle specifics of activating and deactivating perl modules. - # ======================================================================== - - def perl_ignore(self, ext_pkg, args): - """Add some ignore files to activate/deactivate args.""" - ignore_arg = args.get("ignore", lambda f: False) - - # Many perl packages describe themselves in a perllocal.pod file, - # so the files conflict when multiple packages are activated. - # We could merge the perllocal.pod files in activated packages, - # but this is unnecessary for correct operation of perl. - # For simplicity, we simply ignore all perllocal.pod files: - patterns = [r"perllocal\.pod$"] - - return match_predicate(ignore_arg, patterns) - @property def command(self): """Returns the Perl command, which may vary depending on the version