mit-krb5: fix cross build.

This commit is contained in:
Juan RP 2013-04-17 11:27:19 +02:00
parent 9185038723
commit a4aabc3615

View file

@ -9,6 +9,15 @@ homepage="http://web.mit.edu/Kerberos"
distfiles="$homepage/dist/krb5/1.11/krb5-$version-signed.tar"
checksum=fe37fb93b398db98a1b23f814673ea2ae4b90138f85e1a4027ef639456a78651
noextract=yes
wrksrc="krb5-${version}"
build_style=gnu-configure
configure_script="./src/configure"
configure_args="--disable-rpath --with-system-et
--with-system-ss --with-system-db --enable-shared"
hostmakedepends="perl flex"
makedepends="db-devel e2fsprogs-devel openssl-devel"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" e2fsprogs-devel"
makedepends+=" libfl-devel"
@ -20,15 +29,6 @@ if [ "$CROSS_BUILD" ]; then
krb5_cv_attr_constructor_destructor=yes,yes"
fi
noextract=yes
wrksrc="krb5-${version}"
build_style=gnu-configure
configure_script="./src/configure"
configure_args="--disable-rpath --with-system-et
--with-system-ss --with-system-db --enable-shared"
hostmakedepends="perl flex"
makedepends="db-devel e2fsprogs-devel openssl-devel"
do_extract() {
# We have to do this dance because the real distfile is
# included in the .tar archive.