From a7fbec48e85b4322d91184df0bb8b566f5978c27 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Thu, 18 Jun 2015 19:49:30 -0700 Subject: gettext: Fix update routine --- src/gettext.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gettext.mk b/src/gettext.mk index 9a7ca43..555d745 100644 --- a/src/gettext.mk +++ b/src/gettext.mk @@ -12,9 +12,10 @@ $(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) $(PKG)_DEPS := gcc libiconv define $(PKG)_UPDATE - $(WGET) -q -O- 'http://www.gnu.org/software/gettext/' | \ + $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gettext/' | \ grep 'gettext-' | \ $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \ + $(SORT) -Vr | \ head -1 endef -- cgit v0.12