Skip to content

Commit 75cda1f

Browse files
author
Juan RP
committed
texinfo: unbreak cross
1 parent 0ba40ff commit 75cda1f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

srcpkgs/texinfo/template

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pkgname=texinfo
33
version=6.7
44
revision=1
55
build_style=gnu-configure
6-
configure_args="--disable-static"
6+
configure_args="--disable-static --disable-perl-xs"
77
hostmakedepends="perl ncurses-devel"
88
makedepends="ncurses-devel"
99
depends="gzip perl"
@@ -15,6 +15,11 @@ homepage="http://www.gnu.org/software/texinfo/"
1515
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
1616
checksum=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa
1717

18+
if [ -z "$CROSS_BUILD" ]; then
19+
# XXX fails with cross compilation
20+
configure_args+=" --enable-perl-xs"
21+
fi
22+
1823
post_install() {
1924
rm -f ${DESTDIR}/usr/share/info/dir
2025
# Compress manually info files.

0 commit comments

Comments
 (0)