Skip to content

Commit

Permalink
Merge pull request #472 from AlexanderRichert-NOAA/gettext_fix_180
Browse files Browse the repository at this point in the history
Fix gettext patch
  • Loading branch information
climbfuji authored Sep 3, 2024
2 parents 33eea04 + 52c7c02 commit 421eded
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions var/spack/repos/builtin/packages/gettext/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class Gettext(AutotoolsPackage, GNUMirrorPackage):
# depends_on('cvs')

conflicts("+shared~pic")
# https://savannah.gnu.org/bugs/?65811
conflicts("%gcc@:5", when="@0.22:")

patch("test-verify-parallel-make-check.patch", when="@:0.19.8.1")
patch("nvhpc-builtin.patch", when="@:0.21.0 %nvhpc")
Expand All @@ -78,12 +80,13 @@ def patch(self):
# From the configure script: "we don't want to use an external libxml, because its
# dependencies and their dynamic relocations have an impact on the startup time", well,
# *we* do.
filter_file(
"gl_cv_libxml_force_included=yes",
"gl_cv_libxml_force_included=no",
"libtextstyle/configure",
string=True,
)
if self.spec.satisfies("@20:"): # libtextstyle/configure not present prior
filter_file(
"gl_cv_libxml_force_included=yes",
"gl_cv_libxml_force_included=no",
"libtextstyle/configure",
string=True,
)

def flag_handler(self, name, flags):
# this goes together with gl_cv_libxml_force_included=no
Expand Down

0 comments on commit 421eded

Please sign in to comment.