cernlib: depends_on freetype, libnsl, libxcrypt, openssl; and patch (#34702)
* cernlib: depends_on freetype, libnsl, libxcrypt, openssl; and patch In addition to #34448, cernlib depends on these additional packages. This also applies a patch to the current release in which crypto is specified wbere libcrypt (in libxcrypt) is actually needed. Because the upstream git repository is behind a CERN login, we cannot patch by gitlab URL link. * [@spackbot] updating style on behalf of wdconinc Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
This commit is contained in:
		| @@ -20,10 +20,19 @@ class Cernlib(CMakePackage): | |||||||
|         sha256="733d148415ef78012ff81f21922d3bf641be7514b0242348dd0200cf1b003e46", |         sha256="733d148415ef78012ff81f21922d3bf641be7514b0242348dd0200cf1b003e46", | ||||||
|     ) |     ) | ||||||
| 
 | 
 | ||||||
|  |     depends_on("freetype") | ||||||
|     depends_on("motif") |     depends_on("motif") | ||||||
|  |     depends_on("libnsl") | ||||||
|     depends_on("libx11") |     depends_on("libx11") | ||||||
|     depends_on("libxaw") |     depends_on("libxaw") | ||||||
|     depends_on("libxt") |     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): |     def cmake_args(self): | ||||||
|         args = ["-DCERNLIB_BUILD_SHARED:BOOL=ON"] |         args = ["-DCERNLIB_BUILD_SHARED:BOOL=ON"] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Wouter Deconinck
					Wouter Deconinck