autofs: unbreak cross compilation.
This commit is contained in:
parent
a3fa6a89d2
commit
e57bac3d42
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue