I tried it. But it's too hard for me. It compiles a bit further than yours. See the net/mit-krb5/Makefile below:
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=mit-krb5
PKG_VERSION:=1.6.3
PKG_RELEASE:=1
PKG_SOURCE:=krb5-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://web.mit.edu/Kerberos/dist/krb5/1.6/
PKG_MD5SUM:=f32a9647deed175dd6bcc5e22d907541
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
define Package/mit-krb5
SECTION:=net
CATEGORY:=Network
TITLE:=Kerberos
URL:=http://web.mit.edu/Kerberos/
endef
define Package/mit-krb5/description
Kerberos
endef
CONFIGURE_PATH := ./src
CONFIGURE_VARS += \
cross_compiling=${cross_compiling=yes,yes} \
krb5_cv_attr_constructor_destructor=${krb5_cv_attr_constructor_destructor=yes,yes} \
ac_cv_func_regcomp=${ac_cv_func_regcomp=yes,yes} \
ac_cv_printf_positional=${ac_cv_printf_positional=yes,yes} \
ac_cv_file__etc_environment=${ac_cv_file__etc_environment=no,no} \
ac_cv_file__etc_TIMEZONE=${ac_cv_file__etc_TIMEZONE=no,no} \
\
enable_thread_support=${enable_thread_support=no,no} \
enable_thread=${enable_thread_support=no,no} \
KRB5_AC_ENABLE_THREADS=${KRB5_AC_ENABLE_THREADS=no,no} \
CONFIGURE_ARGS += \
--disable-thread-support \
--enable-shared \
--without-krb4 \
--without-tcl \
--disable-ipv6 \
\
CFLAGS="$(TARGET_CFLAGS) -DENABLE_THREADS=0" \
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \
DESTDIR="$(PKG_INSTALL_DIR)" \
CFLAGS="$(TARGET_CFLAGS) -DENABLE_THREADS=0" \
CC_LINK="$(TARGET_CC)" \
CC="$(TARGET_CC)" \
all install
endef
define Package/mit-krb5/install
$(INSTALL_DIR) $(1)/sbin
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
endef
$(eval $(call BuildPackage,mit-krb5))
(Last edited by forum2008 on 6 Mar 2008, 15:14)