PATCH_LIST="krb5-initialize-id.diff" FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH=http://web.mit.edu/Kerberos/dist/krb5/1.12/krb5-1.12.1-signed.tar MAKEDEPENDS=( 'openssl-*:::*.a *.h' ) # DO_SOURCE=$(declare -f do_source) # function ${DO_SOURCE/#do_source/do_source_original} function post_source { # do_source_original "$@" tar --exclude=".flxpkg" ${VERBOSE} -xf .src || return 1 tar ${VERBOSE} -zxf krb5-$PKGVER.tar.gz } function do_config { cd krb5-$PKGVER/src # Sometimes, broken packages will need LD="$CC" CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ LDFLAGS="-lpthread -lm -lcrypto" \ krb5_cv_attr_constructor_destructor=no \ ac_cv_func_regcomp=yes \ ac_cv_printf_positional=yes \ krb5_cv_attr_constructor_destructor=yes,yes \ ./configure --build=${FLXHOST} --host=${FLXTARG} \ --prefix=/usr --sysconfdir=/etc \ --without-ldap \ --without-tcl \ --enable-static \ --disable-shared \ --enable-thread-support \ --without-hesiod \ --enable-dns-for-realm \ --enable-kdc-lookaside-cache \ --disable-rpath \ --disable-nls --disable-locale } function do_compile_only { # parallel make cd krb5-$PKGVER/src $FLXPMAKE } function do_prepack { cd krb5-$PKGVER/src $FLXMAKE install DESTDIR=$ROOTDIR set_default_perm $ROOTDIR }