Browse Source

heimdal: changed to build minimal tools like asn1_compile at toolchain stage

asn1_compile is needed at stage 1 when cross-compiling.
stable/0.6
Christian Wiese 11 years ago
parent
commit
07b56c5e10
  1. 25
      security/heimdal/heimdal.conf
  2. 2
      security/heimdal/heimdal.desc

25
security/heimdal/heimdal.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../heimdal/heimdal.conf
# Copyright (C) 2007 - 2012 The OpenSDE Project
# Copyright (C) 2007 - 2014 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -22,6 +22,25 @@ localstatedir=/var/heimdal
# we patch cf/pthreads.m4
autogen=1
# build static tools we need for cross-compiling at stage 1
# tools needed: asn1_compile
if atstage toolchain; then
heimdal_toolchain_premake() {
eval $MAKE -C include krb5-types.h
eval $MAKE -C lib/roken
eval $MAKE -C lib/vers
eval $MAKE -C lib/com_err
}
hook_add premake 9 'heimdal_toolchain_premake'
prefix=
set_confopt
var_append extraconfopt ' ' "--disable-shared"
var_insert makeopt ' ' "-C lib/asn1"
var_insert makeinstopt ' ' "-C lib/asn1"
fi
if atstage native; then
if pkginstalled -f openssl; then
pkgprefix -t openssl
@ -52,7 +71,9 @@ if pkginstalled -f readline; then
var_append extraconfopt ' ' "--with-readline=$( pkgprefix -r readline )"
fi
var_append extraconfopt ' ' "--enable-shared"
if ! atstage toolchain; then
var_append extraconfopt ' ' "--enable-shared"
fi
var_append extraconfopt ' ' "--libexecdir=$sbindir"
pkg_heimdal_preconf() {

2
security/heimdal/heimdal.desc

@ -36,7 +36,7 @@
[L] BSD
[S] Stable
[V] 1.5.3
[P] O -?-3-5---9 116.300
[P] O ??-3-5---9 116.300
[D] 2766492014 heimdal-1.5.3.tar.gz https://github.com/heimdal/heimdal/archive/
#[D] 1646049764 heimdal-1.5.2.tar.gz http://www.h5l.org/dist/src/

Loading…
Cancel
Save