autofs: unbreak cross compilation.

This commit is contained in:
Juan RP 2015-05-28 16:28:06 +02:00
parent a3fa6a89d2
commit e57bac3d42

View file

@ -18,6 +18,8 @@ homepage="${KERNEL_SITE}/daemons/autofs"
distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz" distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz"
checksum=e08ff0ef9ff365d87b6c33dca136d20e4e07675197a324f2816894cb437021c3 checksum=e08ff0ef9ff365d87b6c33dca136d20e4e07675197a324f2816894cb437021c3
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue"
pre_build() { pre_build() {
sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules
} }