summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnehring <7978778+snehring@users.noreply.github.com>2024-11-27 15:44:48 -0500
committerGitHub <noreply@github.com>2024-11-27 13:44:48 -0700
commit9d33c89030c0b92b97a8b36a25e1225bbb7f5788 (patch)
treedca4ee5b6a983feb0f04321c0ff18640187c829f
parent51ab7bad3bbe89ac506d5cd21b8e8bebb359e97e (diff)
downloadspack-9d33c89030c0b92b97a8b36a25e1225bbb7f5788.tar.gz
spack-9d33c89030c0b92b97a8b36a25e1225bbb7f5788.tar.bz2
spack-9d33c89030c0b92b97a8b36a25e1225bbb7f5788.tar.xz
spack-9d33c89030c0b92b97a8b36a25e1225bbb7f5788.zip
r-rsamtools: add -lz to Makevars (#38649)
-rw-r--r--var/spack/repos/builtin/packages/r-rsamtools/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rsamtools/package.py b/var/spack/repos/builtin/packages/r-rsamtools/package.py
index 6ce8eae489..c831f78788 100644
--- a/var/spack/repos/builtin/packages/r-rsamtools/package.py
+++ b/var/spack/repos/builtin/packages/r-rsamtools/package.py
@@ -58,3 +58,8 @@ class RRsamtools(RPackage):
# this is not a listed dependency but is needed
depends_on("curl")
+ depends_on("zlib-api")
+
+ def patch(self):
+ with working_dir("src"):
+ filter_file(r"(^PKG_LIBS=)(\$\(RHTSLIB_LIBS\))", "\\1\\2 -lz", "Makevars")