r-packages: add missing gettext dependencies (#48910)

* add gettext dependency

* typo

* style
This commit is contained in:
Chris Marsh 2025-03-04 17:07:01 -06:00 committed by GitHub
parent 36fcdb8cfa
commit 5b03173b99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 0 deletions

View File

@ -41,3 +41,7 @@ class RDataTable(RPackage):
depends_on("r@3.1.0:", type=("build", "run"))
depends_on("zlib-api")
depends_on("llvm-openmp", when="platform=darwin %apple-clang", type=("build", "run"))
# gettext linkage is passed in from libR, however data-table looks for libintl.h directly
depends_on("gettext")

View File

@ -37,3 +37,5 @@ class RMatrix(RPackage):
depends_on("r@3.5.0:", type=("build", "run"), when="@1.3-3:")
depends_on("r@4.4.0:", type=("build", "run"), when="@1.7-0:")
depends_on("r-lattice", type=("build", "run"))
# looks for libintl.h directly
depends_on("gettext")

View File

@ -41,3 +41,4 @@ class RMgcv(RPackage):
depends_on("r@3.6.0:", type=("build", "run"), when="@1.8.34:")
depends_on("r-nlme@3.1-64:", type=("build", "run"))
depends_on("r-matrix", type=("build", "run"))
depends_on("gettext")

View File

@ -34,3 +34,6 @@ class RNlme(RPackage):
depends_on("r@3.4.0:", type=("build", "run"), when="@3.1-135.5:")
depends_on("r@3.6.0:", type=("build", "run"), when="@3.1-165:")
depends_on("r-lattice", type=("build", "run"))
# looks for libintl.h directly
depends_on("gettext")