summaryrefslogtreecommitdiffstats
path: root/src/libpng.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/libpng.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/libpng.mk')
-rw-r--r--src/libpng.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libpng.mk b/src/libpng.mk
index 39ef5ad..db45f80 100644
--- a/src/libpng.mk
+++ b/src/libpng.mk
@@ -16,8 +16,8 @@ define $(PKG)_UPDATE
grep -v alpha | \
grep -v beta | \
grep -v rc | \
- grep -v '^1\.[0-4]\.' | \
- head -1
+ $(SORT) -V | \
+ tail -1
endef
define $(PKG)_BUILD