chroot-git: cross build support.

This commit is contained in:
Juan RP 2013-03-12 17:53:48 +01:00
parent c8526bb729
commit cdb84765df

View file

@ -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