summaryrefslogtreecommitdiffstats
path: root/src/gmp.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-22 09:33:04 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-05-22 09:33:04 (GMT)
commit6188de2ed34a0d00b3845e9b1fbd43bf9963a01b (patch)
treefd6e122394a96e70f8a2930ad4ad0c6e9343edae /src/gmp.mk
parent943ab6a7ee0eb6748b4dcf0c9bd08592722b55ce (diff)
downloadmxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.zip
mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.gz
mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.bz2
various packages: remove grep workarounds for version sorting
Diffstat (limited to 'src/gmp.mk')
-rw-r--r--src/gmp.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmp.mk b/src/gmp.mk
index abbbe95..9c3bde5 100644
--- a/src/gmp.mk
+++ b/src/gmp.mk
@@ -14,8 +14,8 @@ define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.gmplib.org/' | \
grep '<a href="' | \
$(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar.*,\1,p' | \
- grep -v '^4\.' | \
- head -1
+ $(SORT) -V | \
+ tail -1
endef
define $(PKG)_BUILD