From eff4451cdd2370c90e4d248cfc6756f494aa942c Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 12 Jun 2024 22:13:11 +0200 Subject: [PATCH] Revert "linux-pam: fixes #44637" (#44682) * Revert "linux-pam: fixes #44637 (#44638)" This reverts commit 9151fc1653317059097ae51a238cbb7c05197240. * linux-pam: drop redundant deps, add missing, dont build docs, nls --- .../builtin/packages/linux-pam/package.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/var/spack/repos/builtin/packages/linux-pam/package.py b/var/spack/repos/builtin/packages/linux-pam/package.py index dd8b31771cccdc..e13d05aaa65abe 100644 --- a/var/spack/repos/builtin/packages/linux-pam/package.py +++ b/var/spack/repos/builtin/packages/linux-pam/package.py @@ -21,17 +21,11 @@ class LinuxPam(AutotoolsPackage): version("1.3.1", sha256="eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db") depends_on("libtirpc") - - depends_on("m4", type="build") - depends_on("autoconf", type="build") - depends_on("automake", type="build") - depends_on("libtool", type="build") - - def flag_handler(self, name, flags): - if name == "ldflags": - flags.append("-lintl") # spack/spack#44637 - return (flags, None, None) + depends_on("libxcrypt") def configure_args(self): - config_args = ["--includedir=" + self.prefix.include.security] - return config_args + return [ + "--disable-nls", + "--disable-regenerate-docu", + f"--includedir={self.prefix.include.security}", + ]