summaryrefslogtreecommitdiffstats
path: root/src/gettext.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-06-19 02:49:30 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-06-19 02:49:30 (GMT)
commita7fbec48e85b4322d91184df0bb8b566f5978c27 (patch)
tree786406f7ae68be5614c2d8c973f1f149294a5c42 /src/gettext.mk
parent8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25 (diff)
downloadmxe-a7fbec48e85b4322d91184df0bb8b566f5978c27.zip
mxe-a7fbec48e85b4322d91184df0bb8b566f5978c27.tar.gz
mxe-a7fbec48e85b4322d91184df0bb8b566f5978c27.tar.bz2
gettext: Fix update routine
Diffstat (limited to 'src/gettext.mk')
-rw-r--r--src/gettext.mk3
1 files changed, 2 insertions, 1 deletions
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