summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-05-23 11:27:16 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-05-23 17:02:25 +0200
commit978a144107f0b030ced59027247d630211b3fb65 (patch)
tree5cb2ba75cf8a3a81b81066b28ff3059ddc568b84
parenta2da155d27649ae876b739637b728e7808f2ccb3 (diff)
downloadbuildroot-978a144107f0b030ced59027247d630211b3fb65.tar.gz
buildroot-978a144107f0b030ced59027247d630211b3fb65.zip
lftp: bump version to 4.7.2
Help lftp to find readline and zlib so it will not fail this way: checking for Readline... no configure: error: cannot find readline library, install readline-devel package checking if zlib is wanted... yes checking for inflateEnd in -lz... no checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no configure: error: cannot find -lz library, install zlib-devel package Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> [Thomas: group zlib/readline options into one definition of LFTP_CONF_OPTS.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/lftp/lftp.hash2
-rw-r--r--package/lftp/lftp.mk9
2 files changed, 9 insertions, 2 deletions
diff --git a/package/lftp/lftp.hash b/package/lftp/lftp.hash
index 4c5d799591..3185fc531d 100644
--- a/package/lftp/lftp.hash
+++ b/package/lftp/lftp.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 1e7cb674c83ace48172263f86847ed04bb6ab2f24116b11a8505f70a15e8805c lftp-4.6.4.tar.xz
+sha256 475d7699b1390f951efee867ba1ad600f78329e13fd2a04d92f82bfffb70d872 lftp-4.7.2.tar.xz
diff --git a/package/lftp/lftp.mk b/package/lftp/lftp.mk
index 5051f707a9..c3c11c53b4 100644
--- a/package/lftp/lftp.mk
+++ b/package/lftp/lftp.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LFTP_VERSION = 4.6.4
+LFTP_VERSION = 4.7.2
LFTP_SOURCE = lftp-$(LFTP_VERSION).tar.xz
LFTP_SITE = http://lftp.yar.ru/ftp
LFTP_LICENSE = GPLv3+
@@ -13,6 +13,13 @@ LFTP_LICENSE_FILES = COPYING
LFTP_AUTORECONF = YES
LFTP_DEPENDENCIES = readline zlib host-pkgconf
+# Help lftp finding readline and zlib
+LFTP_CONF_OPTS = \
+ --with-readline=$(STAGING_DIR)/usr \
+ --with-readline-inc=$(STAGING_DIR)/usr/include/readline \
+ --with-readline-lib=$(STAGING_DIR)/usr/lib \
+ --with-zlib=$(STAGING_DIR)/usr
+
ifneq ($(BR2_STATIC_LIBS),y)
LFTP_CONF_OPTS += --with-modules
endif
OpenPOWER on IntegriCloud