changeset 5687:849306e66cb1

* src/sdl.mk: disable sdl1 update rule check
author John Donoghue <john.donoghue@ieee.org>
date Sun, 21 Feb 2021 18:53:22 -0500
parents 0a1aa911cd61
children 2930a606baee
files src/sdl.mk
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/sdl.mk	Sun Feb 21 18:53:21 2021 -0500
+++ b/src/sdl.mk	Sun Feb 21 18:53:22 2021 -0500
@@ -10,11 +10,11 @@
 $(PKG)_URL      := http://www.libsdl.org/release/$($(PKG)_FILE)
 $(PKG)_DEPS     := libiconv
 
+# SDL1 is no longer updated, so wont see any new versions
+# TODO: create a SDL2 target if we want to use that
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://hg.libsdl.org/SDL/tags' | \
-    $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \
-    $(GREP) "^1" | \
-    head -1
+    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
+    echo $($(PKG)_VERSION)
 endef
 
 ifeq ($(MXE_NATIVE_BUILD),no)