From 44f7363fbe48d516112cb5bcaabf3778b665f800 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Thu, 29 Dec 2022 02:25:07 -0600 Subject: [PATCH] cernlib: depends_on libxaw libxt (#34448) Based on the following lines in the top level `CMakeLists.txt` (I can't deep link since gitlab.cern.ch not public), `cernlib` needs an explicit dependency on `libxaw` and `libxt`: ```cmake find_package(X11 REQUIRED) message(STATUS "CERNLIB: X11_Xt_LIB=${X11_Xt_LIB} X11_Xaw_LIB=${X11_Xaw_LIB} X11_LIBRARIES=${X11_LIBRARIES}") ``` --- var/spack/repos/builtin/packages/cernlib/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/cernlib/package.py b/var/spack/repos/builtin/packages/cernlib/package.py index 2417313120..add2a5dacc 100644 --- a/var/spack/repos/builtin/packages/cernlib/package.py +++ b/var/spack/repos/builtin/packages/cernlib/package.py @@ -22,6 +22,8 @@ class Cernlib(CMakePackage): depends_on("motif") depends_on("libx11") + depends_on("libxaw") + depends_on("libxt") def cmake_args(self): args = ["-DCERNLIB_BUILD_SHARED:BOOL=ON"]