Browse Source

krb5: improved to cross-compile if requested by the target

stable/0.6
Christian Wiese 11 years ago
parent
commit
8b255bb1f1
  1. 10
      security/krb5/krb5.conf
  2. 2
      security/krb5/krb5.desc

10
security/krb5/krb5.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../krb5/krb5.conf # 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. # More information can be found in the files COPYING and README.
# #
@ -28,6 +28,14 @@ custextract=krb5_custextract
# no toplevel Makefile # no toplevel Makefile
hook_add preconf 9 'cd src' 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 if pkginstalled -f e2fsprogs; then
# e2fsprogs provides libcom_err and compile_et # e2fsprogs provides libcom_err and compile_et
var_append extraconfopt ' ' "--with-system-et" var_append extraconfopt ' ' "--with-system-et"

2
security/krb5/krb5.desc

@ -30,6 +30,6 @@
[L] MIT [L] MIT
[S] Stable [S] Stable
[V] 1.12.1 [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/ [D] 1428651921 krb5-1.12.1-signed.tar http://web.mit.edu/kerberos/dist/krb5/1.12/

Loading…
Cancel
Save