chroot-git: cross build support.
This commit is contained in:
parent
c8526bb729
commit
cdb84765df
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,13 @@ if [ -n "$CHROOT_READY" ]; then
|
||||||
makedepends="perl"
|
makedepends="perl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
|
crossmakedepends="zlib-devel"
|
||||||
|
configure_args="${configure_args}
|
||||||
|
ac_cv_fread_reads_directories=no
|
||||||
|
ac_cv_snprintf_returns_bogus=no"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove unneeded stuff.
|
# remove unneeded stuff.
|
||||||
rm -rf ${DESTDIR}/usr/share/gitweb
|
rm -rf ${DESTDIR}/usr/share/gitweb
|
||||||
|
|
Loading…
Reference in a new issue