This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 91188daed7 gnu: gdcm: Fix reference in exported target.
91188daed7 is described below
commit 91188daed72ae38998b310750e5e3dec30406b57
Author: Jake Forster <[email protected]>
AuthorDate: Mon Oct 13 23:39:38 2025 +1030
gnu: gdcm: Fix reference in exported target.
* gnu/packages/bioinformatics.scm (gdcm)
[arguments]<#:phases>{refer-to-charls}: New phase.
Change-Id: I0671b71471c123b041156940640f0f745464052d
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/bioinformatics.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index dbdee3debb..ecc89ac8ff 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -25264,6 +25264,15 @@ module capable of computing base-level alignments for
very large sequences.")
"-DGDCM_USE_SYSTEM_ZLIB=ON")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'refer-to-charls
+ (lambda _
+ ;; Resolve the absolute path to libcharls.so instead of exporting
+ ;; a bare '-lcharls' reference in GDCM targets.
+ (substitute* "CMakeLists.txt"
+ (("set\\(GDCM_CHARLS_LIBRARIES charls\\)")
+ (string-append
+ "find_library(CHARLS_LIBRARY NAMES charls REQUIRED)\n"
+ " set(GDCM_CHARLS_LIBRARIES ${CHARLS_LIBRARY})")))))
(add-before 'build 'set-HOME
;; The build with documentation spams ‘Fontconfig error: No
writable
;; cache directories’ in a seemingly endless loop otherwise.