|
|
|
@ -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() { |
|
|
|
|