chroot-git: cross build support.

This commit is contained in:
Juan RP 2013-03-12 17:53:48 +01:00
parent c8526bb729
commit cdb84765df
1 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,13 @@ if [ -n "$CHROOT_READY" ]; then
makedepends="perl"
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() {
# remove unneeded stuff.
rm -rf ${DESTDIR}/usr/share/gitweb