me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 4 additions and 0 deletions

View File

@ -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")