texinfo: unbreak cross

This commit is contained in:
Juan RP 2020-01-06 17:47:15 +01:00
parent 0ba40ffbfc
commit 75cda1f9e2
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -3,7 +3,7 @@ pkgname=texinfo
version=6.7
revision=1
build_style=gnu-configure
configure_args="--disable-static"
configure_args="--disable-static --disable-perl-xs"
hostmakedepends="perl ncurses-devel"
makedepends="ncurses-devel"
depends="gzip perl"
@ -15,6 +15,11 @@ homepage="http://www.gnu.org/software/texinfo/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa
if [ -z "$CROSS_BUILD" ]; then
# XXX fails with cross compilation
configure_args+=" --enable-perl-xs"
fi
post_install() {
rm -f ${DESTDIR}/usr/share/info/dir
# Compress manually info files.