From 8bf0c60086d77ba621daa3556995d9098f1288ed Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Wed, 25 Aug 2021 10:32:56 +0200 Subject: 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. --- gnu/packages/kerberos.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/kerberos.scm') 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") -- cgit 1.4.1