util-linux: add v2.39.1, fix macOS build (#38677)

This commit is contained in:
Adam J. Stewart 2023-07-04 03:47:26 -05:00 committed by GitHub
parent 70a38ea1c5
commit 5588b93683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ class UtilLinux(AutotoolsPackage):
list_url = "https://www.kernel.org/pub/linux/utils/util-linux"
list_depth = 1
version("2.39.1", sha256="d7c8a58eb2c7248a32754eb3a3b6772e368b984d9907ada834c2cf3e13024270")
version("2.38.1", sha256="0820eb8eea90408047e3715424bc6be771417047f683950fecb4bdd2e2cbbc6e")
version("2.38", sha256="c31d4e54f30b56b0f7ec8b342658c07de81378f2c067941c2b886da356f8ad42")
version("2.37.4", sha256="c8b7b4fa541f974cc32c1c6559d9bfca33651020a456ad6ee5fc9b0cacd00151")
@ -67,6 +68,12 @@ def configure_args(self):
else:
config_args.append("--disable-bash-completion")
if self.spec.satisfies("platform=darwin"):
# Does not build on macOS
config_args.extend(
["--disable-ipcs", "--disable-ipcrm", "--disable-wall", "--disable-libmount"]
)
return config_args
def install(self, spec, prefix):