diff options
author | Matthieu Dorier <matthieu.dorier@gmail.com> | 2024-11-12 18:20:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 11:20:48 -0700 |
commit | 57a1ebc77ee69a15902f3e65a8467d4937c3f194 (patch) | |
tree | 9312cdb91935f3d77bc54721dfd19588c6850f70 /var | |
parent | acdcd1016a84ba3c7d2ecf95c6c61bc04795f4ae (diff) | |
download | spack-57a1ebc77ee69a15902f3e65a8467d4937c3f194.tar.gz spack-57a1ebc77ee69a15902f3e65a8467d4937c3f194.tar.bz2 spack-57a1ebc77ee69a15902f3e65a8467d4937c3f194.tar.xz spack-57a1ebc77ee69a15902f3e65a8467d4937c3f194.zip |
xfsprogs: fix dependency on gettext (#47547)
* xfsprogs: fix dependency on gettext
* changed dependency on gettext in xfsprogs
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
---------
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/xfsprogs/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/xfsprogs/package.py b/var/spack/repos/builtin/packages/xfsprogs/package.py index c80002bf29..c25a95ed4c 100644 --- a/var/spack/repos/builtin/packages/xfsprogs/package.py +++ b/var/spack/repos/builtin/packages/xfsprogs/package.py @@ -26,6 +26,7 @@ class Xfsprogs(AutotoolsPackage): depends_on("libinih") depends_on("gettext") + depends_on("gettext@:0.21.1", when="@:6.3") depends_on("uuid") depends_on("util-linux") @@ -33,7 +34,7 @@ class Xfsprogs(AutotoolsPackage): if name == "cflags": if self.spec.satisfies("@:5.4.0 %gcc@10:"): flags.append("-fcommon") - elif name == "ldlibs": + elif name == "ldlibs" or name == "ldflags": if "intl" in self.spec["gettext"].libs.names: flags.append("-lintl") return build_system_flags(name, flags) |