chroot-git: cross build support.
This commit is contained in:
parent
c8526bb729
commit
cdb84765df
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue