summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cernlib/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cernlib/package.py b/var/spack/repos/builtin/packages/cernlib/package.py
index add2a5dacc..fb0078ba3d 100644
--- a/var/spack/repos/builtin/packages/cernlib/package.py
+++ b/var/spack/repos/builtin/packages/cernlib/package.py
@@ -20,10 +20,19 @@ class Cernlib(CMakePackage):
sha256="733d148415ef78012ff81f21922d3bf641be7514b0242348dd0200cf1b003e46",
)
+ depends_on("freetype")
depends_on("motif")
+ depends_on("libnsl")
depends_on("libx11")
depends_on("libxaw")
depends_on("libxt")
+ depends_on("libxcrypt")
+
+ depends_on("openssl", when="os=linux")
+
+ @when("@2022.11.08.0-free")
+ def patch(self):
+ filter_file("crypto", "crypt", "packlib/CMakeLists.txt")
def cmake_args(self):
args = ["-DCERNLIB_BUILD_SHARED:BOOL=ON"]