lftp: switch to wget for fetching

This commit is contained in:
Michael Gehring 2016-11-19 11:20:27 +00:00
parent 6bee2667c4
commit be5193c328

View file

@ -7,7 +7,7 @@ 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-zlib=${XBPS_CROSS_BASE}/usr --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 wget"
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"
conf_files="/etc/lftp.conf" conf_files="/etc/lftp.conf"
@ -17,6 +17,7 @@ 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=bf67c4d128b6f769a4082947376a9679c5ee3463a24ab761a0757f75d70bd92c checksum=bf67c4d128b6f769a4082947376a9679c5ee3463a24ab761a0757f75d70bd92c
XBPS_FETCH_CMD=wget # checks user-agent, serves html/please donate with xbps
pre_configure() { pre_configure() {
sed -i 's/\[0.15\]/[0.19]/' configure.ac sed -i 's/\[0.15\]/[0.19]/' configure.ac