diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-05-22 09:33:04 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-05-22 09:33:04 (GMT) |
commit | 6188de2ed34a0d00b3845e9b1fbd43bf9963a01b (patch) | |
tree | fd6e122394a96e70f8a2930ad4ad0c6e9343edae /src/gdb.mk | |
parent | 943ab6a7ee0eb6748b4dcf0c9bd08592722b55ce (diff) | |
download | mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.zip mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.gz mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.bz2 |
various packages: remove grep workarounds for version sorting
Diffstat (limited to 'src/gdb.mk')
-rw-r--r-- | src/gdb.mk | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -12,9 +12,8 @@ $(PKG)_DEPS := gcc expat libiconv ncurses zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \ $(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \ - grep -v '^7\.3a' | \ - sort -r | \ - head -1 + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD |