diff --git a/srcpkgs/mit-krb5/template b/srcpkgs/mit-krb5/template index 73fef95aa1..05b7323091 100644 --- a/srcpkgs/mit-krb5/template +++ b/srcpkgs/mit-krb5/template @@ -1,7 +1,7 @@ # Template file for 'mit-krb5' pkgname=mit-krb5 version=1.13.1 -revision=3 +revision=4 short_desc="MIT Kerberos 5 implementation" maintainer="Juan RP " license="MIT" @@ -9,18 +9,8 @@ homepage="http://web.mit.edu/Kerberos" distfiles="$homepage/dist/krb5/${version%.*}/krb5-${version}-signed.tar" checksum=4df629fdf97f362cf81edbf38d613b32b492dd88c876cf3aa1c66562f296663e -wrksrc="krb5-${version}" - -disable_parallel_build=yes - build_style=gnu-configure -configure_script="./src/configure" -configure_args="--disable-rpath --with-system-et --without-system-verto - --with-system-ss --with-system-db --enable-shared --without-tcl - ac_cv_func_pthread_once=yes ac_cv_func_pthread_rwlock_init=yes - acx_pthread_ok=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes - krb5_cv_attr_constructor_destructor=yes,yes" - +wrksrc="krb5-${version}" hostmakedepends="perl flex e2fsprogs-devel" makedepends="db-devel e2fsprogs-devel libressl-devel" depends="mit-krb5-client>=${version}_${revision}" @@ -34,6 +24,17 @@ do_extract() { # Fix db plugin. sed -i -e "s|||" $wrksrc/src/plugins/kdb/db2/*.[ch] } +do_configure() { + WARN_CFLAGS= ./src/configure ${configure_args} \ + --disable-rpath --with-system-et --without-system-verto \ + --with-system-ss --with-system-db --enable-shared --without-tcl \ + ac_cv_func_pthread_once=yes ac_cv_func_pthread_rwlock_init=yes \ + acx_pthread_ok=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes \ + krb5_cv_attr_constructor_destructor=yes,yes" +} +do_build() { + make +} mit-krb5-client_package() { short_desc+=" - client programs"