Revert "linux-pam: fixes #44637" (#44682)

* Revert "linux-pam: fixes #44637 (#44638)"

This reverts commit 9151fc1653.

* linux-pam: drop redundant deps, add missing, dont build docs, nls
This commit is contained in:
Harmen Stoppels 2024-06-12 22:13:11 +02:00 committed by GitHub
parent 8d0fc3e639
commit eff4451cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,17 +21,11 @@ class LinuxPam(AutotoolsPackage):
version("1.3.1", sha256="eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db") version("1.3.1", sha256="eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db")
depends_on("libtirpc") depends_on("libtirpc")
depends_on("libxcrypt")
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)
def configure_args(self): def configure_args(self):
config_args = ["--includedir=" + self.prefix.include.security] return [
return config_args "--disable-nls",
"--disable-regenerate-docu",
f"--includedir={self.prefix.include.security}",
]