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.
This commit is contained in:
Maxime Devos 2021-08-25 10:32:56 +02:00 committed by Mathieu Othacehe
parent 784865adfe
commit 8bf0c60086
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -247,6 +247,10 @@ (define-public heimdal
'_)
,@(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")