freeciv: fix configure for sdl-config no more accepted

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 <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-09-19 00:44:24 +02:00
parent 3701938377
commit 647c6ae869

View File

@@ -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"