Skip to content

Commit

Permalink
Revert "linux-pam: fixes spack#44637" (spack#44682)
Browse files Browse the repository at this point in the history
* Revert "linux-pam: fixes spack#44637 (spack#44638)"

This reverts commit 9151fc1.

* linux-pam: drop redundant deps, add missing, dont build docs, nls
  • Loading branch information
haampie authored Jun 12, 2024
1 parent 8d0fc3e commit eff4451
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions var/spack/repos/builtin/packages/linux-pam/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
]

0 comments on commit eff4451

Please sign in to comment.