summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/linux-pam/package.py18
1 files 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 dd8b31771c..e13d05aaa6 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}",
+ ]