texinfo: unbreak cross
This commit is contained in:
parent
0ba40ffbfc
commit
75cda1f9e2
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,7 @@ pkgname=texinfo
|
||||||
version=6.7
|
version=6.7
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static --disable-perl-xs"
|
||||||
hostmakedepends="perl ncurses-devel"
|
hostmakedepends="perl ncurses-devel"
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
depends="gzip perl"
|
depends="gzip perl"
|
||||||
|
@ -15,6 +15,11 @@ homepage="http://www.gnu.org/software/texinfo/"
|
||||||
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
||||||
checksum=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa
|
checksum=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa
|
||||||
|
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
# XXX fails with cross compilation
|
||||||
|
configure_args+=" --enable-perl-xs"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/info/dir
|
rm -f ${DESTDIR}/usr/share/info/dir
|
||||||
# Compress manually info files.
|
# Compress manually info files.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue