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 }