From 75cda1f9e22e39961735f55c2e1be78da4973600 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 Jan 2020 17:47:15 +0100 Subject: [PATCH] texinfo: unbreak cross --- srcpkgs/texinfo/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/texinfo/template b/srcpkgs/texinfo/template index 051efb94c09..8b1addad559 100644 --- a/srcpkgs/texinfo/template +++ b/srcpkgs/texinfo/template @@ -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.