From 8b255bb1f1eb219c5f9f910974ec7669f13eb2d4 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 13 Mar 2014 21:08:28 +0100 Subject: [PATCH] krb5: improved to cross-compile if requested by the target --- security/krb5/krb5.conf | 10 +++++++++- security/krb5/krb5.desc | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/security/krb5/krb5.conf b/security/krb5/krb5.conf index 7fd610f8e..a5eac6d61 100644 --- a/security/krb5/krb5.conf +++ b/security/krb5/krb5.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../krb5/krb5.conf -# Copyright (C) 2011 The OpenSDE Project +# Copyright (C) 2011 - 2014 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -28,6 +28,14 @@ custextract=krb5_custextract # no toplevel Makefile hook_add preconf 9 'cd src' +if atstage cross; then + # NOTE: only checked against native builds of glibc! + # TODO: check against native builds of other libc like musl! + var_append configcache ' ' "krb5_cv_attr_constructor_destructor=yes,yes" + var_append configcache ' ' "ac_cv_func_regcomp=yes" + var_append configcache ' ' "ac_cv_printf_positional=yes" +fi + if pkginstalled -f e2fsprogs; then # e2fsprogs provides libcom_err and compile_et var_append extraconfopt ' ' "--with-system-et" diff --git a/security/krb5/krb5.desc b/security/krb5/krb5.desc index 736ebd412..c983da4fa 100644 --- a/security/krb5/krb5.desc +++ b/security/krb5/krb5.desc @@ -30,6 +30,6 @@ [L] MIT [S] Stable [V] 1.12.1 -[P] X ---3-5---9 116.200 +[P] X -?-3-5---9 116.200 [D] 1428651921 krb5-1.12.1-signed.tar http://web.mit.edu/kerberos/dist/krb5/1.12/