mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
lftp: fix cross builds.
This commit is contained in:
parent
96ee71e33c
commit
f2814ea21b
1 changed files with 3 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'lftp'
|
# Template file for 'lftp'
|
||||||
pkgname=lftp
|
pkgname=lftp
|
||||||
version=4.7.1
|
version=4.7.1
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-modules --disable-rpath --without-included-regex
|
configure_args="--with-modules --disable-rpath --without-included-regex
|
||||||
--with-openssl --with-libidn i_cv_posix_fallocate_works=yes
|
--with-openssl --with-libidn i_cv_posix_fallocate_works=yes
|
||||||
--with-readline=${XBPS_CROSS_BASE}/usr"
|
--with-zlib=${XBPS_CROSS_BASE}/usr --with-readline=${XBPS_CROSS_BASE}/usr"
|
||||||
hostmakedepends="automake libtool pkg-config gettext-devel"
|
hostmakedepends="automake libtool pkg-config gettext-devel"
|
||||||
makedepends="zlib-devel ncurses-devel readline-devel libressl-devel
|
makedepends="zlib-devel ncurses-devel readline-devel libressl-devel
|
||||||
expat-devel libidn-devel"
|
expat-devel libidn-devel"
|
||||||
|
@ -17,14 +17,9 @@ homepage="http://lftp.yar.ru/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="http://lftp.yar.ru/ftp/${pkgname}-${version}.tar.xz"
|
distfiles="http://lftp.yar.ru/ftp/${pkgname}-${version}.tar.xz"
|
||||||
checksum=fd5a5cff636629a19c60a60007f4b0dc0c7d59566b1e8a50f668d2f7e67740e5
|
checksum=fd5a5cff636629a19c60a60007f4b0dc0c7d59566b1e8a50f668d2f7e67740e5
|
||||||
# See http://build.voidlinux.eu/builders/armv7l_builder/builds/23678/steps/shell_3/logs/stdio
|
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's/\[0.15\]/[0.19]/' configure.ac
|
sed -i 's/\[0.15\]/[0.19]/' configure.ac
|
||||||
# Insanity: doing the same thing over and over again and
|
libtoolize -fiv
|
||||||
# expecting different results.
|
|
||||||
autoreconf -fi
|
|
||||||
libtoolize -f
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue