contrib: Update config.sub/guess for kate/caca/sdl/SDL_image
authorMartin Storsjö <martin@martin.st>
Sat, 16 Dec 2017 20:10:55 +0000 (22:10 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 4 Jan 2018 20:52:51 +0000 (22:52 +0200)
This fixes building for non-x86 windows platforms.

contrib/src/SDL_image/rules.mak
contrib/src/caca/rules.mak
contrib/src/kate/rules.mak
contrib/src/sdl/rules.mak

index ab67bc6..c66911a 100644 (file)
@@ -17,6 +17,7 @@ SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image
        $(UNPACK)
        $(APPLY) $(SRC)/SDL_image/SDL_image.patch
        $(APPLY) $(SRC)/SDL_image/pkg-config.patch
+       $(UPDATE_AUTOCONFIG)
        $(MOVE)
 
 DEPS_SDL_image = jpeg $(DEPS_jpeg) tiff $(DEPS_tiff) \
index 95e3325..f1f2a31 100644 (file)
@@ -20,7 +20,9 @@ caca: libcaca-$(CACA_VERSION).tar.gz .sum-caca
        $(APPLY) $(SRC)/caca/caca-llvm-weak-alias.patch
        $(APPLY) $(SRC)/caca/caca-osx-sdkofourchoice.patch
        $(APPLY) $(SRC)/caca/caca-win32-static.patch
+       $(UPDATE_AUTOCONFIG)
        $(MOVE)
+       mv caca/config.sub caca/config.guess caca/.auto
 
 CACA_CONF := \
        --disable-imlib2 \
index 5236bed..150972d 100644 (file)
@@ -15,7 +15,9 @@ $(TARBALLS)/libkate-$(KATE_VERSION).tar.gz:
 
 libkate: libkate-$(KATE_VERSION).tar.gz .sum-kate
        $(UNPACK)
+       $(UPDATE_AUTOCONFIG)
        $(MOVE)
+       mv libkate/config.sub libkate/config.guess libkate/misc/autotools
 
 DEPS_kate = ogg $(DEPS_ogg)
 
index 89948c9..4b16cc9 100644 (file)
@@ -16,7 +16,9 @@ $(TARBALLS)/SDL-$(SDL_VERSION).tar.gz:
 sdl: SDL-$(SDL_VERSION).tar.gz .sum-sdl
        $(UNPACK)
        $(APPLY) $(SRC)/sdl/direct_palette_ref.diff
+       $(UPDATE_AUTOCONFIG)
        $(MOVE)
+       mv sdl/config.sub sdl/config.guess sdl/build-scripts
 
 SDLCONF := $(HOSTCONF) \
        --disable-audio \