autofs: fix cross

This commit is contained in:
Helmut Pozimski 2019-01-20 16:59:46 +01:00
parent 5717abac85
commit 77541932ed
1 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,8 @@ pkgname=autofs
version=5.1.5
revision=1
build_style=gnu-configure
conf_files="/etc/autofs/*"
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
conf_files="/etc/autofs/*"
hostmakedepends="pkg-config flex kmod rpcgen"
makedepends="libtirpc-devel libxml2-devel"
short_desc="A kernel-based automounter for Linux"
@ -19,7 +19,9 @@ CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue -I${XBPS_CROSS_BASE}/usr/includ
case "$XBPS_TARGET_MACHINE" in
*-musl) # sssd cannot be built for musl
;;
*) makedepends+=" sssd-devel"
*) if [ -z "$CROSS_BUILD" ]; then
makedepends+=" sssd-devel"
fi
;;
esac