summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2008-11-09 12:26:02 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2008-11-09 12:26:02 (GMT)
commit05c6b904768728b1ef5194a1dc7b74bc55270cb6 (patch)
treec4aa656cefe85d89a2e68489f7178af9d02a3342
parent99f882b59c55be66833b97195a5f07fbbf44ae33 (diff)
downloadmxe-05c6b904768728b1ef5194a1dc7b74bc55270cb6.zip
mxe-05c6b904768728b1ef5194a1dc7b74bc55270cb6.tar.gz
mxe-05c6b904768728b1ef5194a1dc7b74bc55270cb6.tar.bz2
bugfix: fixed version recognition of package 'libiconv'
-rw-r--r--src/libiconv.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libiconv.mk b/src/libiconv.mk
index 04df747..9ec9096 100644
--- a/src/libiconv.mk
+++ b/src/libiconv.mk
@@ -9,10 +9,10 @@ $(PKG)_URL := http://ftp.gnu.org/pub/gnu/libiconv/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- wget -q -O- 'http://ftp.gnu.org/pub/gnu/libiconv/' | \
- $(SED) -n 's,.*libiconv-\([0-9]*\)\.\([0-9]*\)\(\.[0-9]*\)\.tar.*,\1.\2\3,p' | \
- sort -n | \
- tail -1
+ wget -q -O- 'http://www.gnu.org/software/libiconv/' | \
+ grep 'libiconv-' | \
+ $(SED) -n 's,.*libiconv-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD