From 647c6ae869b74c7cb7b6437a6b9196430ceee3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sat, 19 Sep 2015 00:44:24 +0200 Subject: [PATCH] freeciv: fix configure for sdl-config no more accepted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes: | checking for SDL - version >= 1.0.0... ERROR: /usr/bin/sdl-config should not be used, use an alternative such as pkg-config Signed-off-by: Andreas Müller --- recipes-games/freeciv/freeciv.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-games/freeciv/freeciv.inc b/recipes-games/freeciv/freeciv.inc index d1b4414..1e5b017 100644 --- a/recipes-games/freeciv/freeciv.inc +++ b/recipes-games/freeciv/freeciv.inc @@ -26,7 +26,9 @@ inherit autotools pkgconfig EXTRA_OECONF = "\ --enable-shared --without-ggz-dir --enable-client=${FREECIV_GUI} \ --disable-mapimg \ -SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config \ +--disable-sdltest \ +--disable-sdl2test \ +SDL_CONFIG='${STAGING_BINDIR_NATIVE}/pkg-config sdl' \ " acpaths = "-I ${S}/m4 -I ${S}/dependencies/m4"