summaryrefslogtreecommitdiffstats
path: root/src/physfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/physfs.mk')
-rw-r--r--src/physfs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/physfs.mk b/src/physfs.mk
index ac032c2..2654473 100644
--- a/src/physfs.mk
+++ b/src/physfs.mk
@@ -12,7 +12,8 @@ $(PKG)_DEPS := gcc zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://icculus.org/physfs/downloads/?M=D' | \
$(SED) -n 's,.*<a href="physfs-\([0-9][^"]*\)\.tar.*,\1,pI' | \
- head -1
+ $(SORT) -V | \
+ tail -1
endef
define $(PKG)_BUILD