From e57bac3d42aa3e16033b0cc6e32ed9a37eff8f81 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 May 2015 16:28:06 +0200 Subject: [PATCH] autofs: unbreak cross compilation. --- srcpkgs/autofs/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template index 7df68222e2..8017e37059 100644 --- a/srcpkgs/autofs/template +++ b/srcpkgs/autofs/template @@ -18,6 +18,8 @@ homepage="${KERNEL_SITE}/daemons/autofs" distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz" checksum=e08ff0ef9ff365d87b6c33dca136d20e4e07675197a324f2816894cb437021c3 +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue" + pre_build() { sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules }