aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-08-25 10:32:56 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-09-20 11:15:07 +0000
commit8bf0c60086d77ba621daa3556995d9098f1288ed (patch)
treedef992f221ec7764be22a1fff65f463d6654544c /gnu
parent784865adfe704d622da0c63c2e2ee865e01c6c67 (diff)
downloadguix-8bf0c60086d77ba621daa3556995d9098f1288ed.tar.gz
guix-8bf0c60086d77ba621daa3556995d9098f1288ed.zip
gnu: heimdal: Use libcom_err from input when cross-compiling.
* gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Consider ${krb_cv_com_err} to be 'yes' when cross-compiling.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kerberos.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm
index 85f54a4acc..82609ce66e 100644
--- a/gnu/packages/kerberos.scm
+++ b/gnu/packages/kerberos.scm
@@ -247,6 +247,10 @@ After installation, the system administrator should generate keys using
'_)
,@(if (%current-target-system)
`((substitute* "configure"
+ ;; The e2fsprogs input is included for libcom_err,
+ ;; let's use it even if cross-compiling.
+ (("test \"\\$\\{krb_cv_com_err\\}\" = \"yes\"")
+ ":")
;; Our 'compile_et' is not in --with-cross-tools,
;; which confuses heimdal.
(("ac_cv_prog_COMPILE_ET=\\$\\{with_cross_tools\\}compile_et")