diff --git a/srcpkgs/lftp/template b/srcpkgs/lftp/template index 680da746a4..1ccb461ef2 100644 --- a/srcpkgs/lftp/template +++ b/srcpkgs/lftp/template @@ -1,12 +1,13 @@ # Template file for 'lftp' pkgname=lftp -version=4.6.5 -revision=2 +version=4.7.1 +revision=1 lib32disabled=yes build_style=gnu-configure configure_args="--with-modules --disable-rpath --without-included-regex - --with-openssl --with-libidn i_cv_posix_fallocate_works=yes" -hostmakedepends="automake libtool pkg-config" + --with-openssl --with-libidn i_cv_posix_fallocate_works=yes + --with-readline=${XBPS_CROSS_BASE}/usr" +hostmakedepends="automake libtool pkg-config gettext-devel" makedepends="zlib-devel ncurses-devel readline-devel libressl-devel expat-devel libidn-devel" conf_files="/etc/lftp.conf" @@ -14,9 +15,14 @@ short_desc="Sophisticated FTP/HTTP client" maintainer="Juan RP " homepage="http://lftp.yar.ru/" license="GPL-3" -distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz" -checksum=1fd0920a1791ce0e9e39ffce77ae6619e5dc665f16e9380bafbfc69411eeb71e +distfiles="http://lftp.yar.ru/ftp/${pkgname}-${version}.tar.xz" +checksum=fd5a5cff636629a19c60a60007f4b0dc0c7d59566b1e8a50f668d2f7e67740e5 pre_configure() { + sed -i 's/\[0.15\]/[0.19]/' configure.ac + # Insanity: doing the same thing over and over again and + # expecting different results. + autoreconf -fi + libtoolize -f autoreconf -fi }