freeciv: select gui to build in individual recipes, not .inc

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2013-02-17 05:09:26 +02:00
parent 10a555bf9a
commit 658969e57c
3 changed files with 5 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ S = "${WORKDIR}/freeciv-${PV}"
inherit autotools pkgconfig
EXTRA_OECONF = "\
--enable-shared --without-ggz-dir --enable-client=gtk2 \
--enable-shared --without-ggz-dir --enable-client=${FREECIV_GUI} \
--with-sdl-prefix=${STAGING_BINDIR_CROSS} \
"

View File

@@ -1,3 +1,5 @@
FREECIV_GUI = "gtk2"
require freeciv.inc
PR = "r0"

View File

@@ -1,3 +1,5 @@
FREECIV_GUI = "gtk2"
require freeciv.inc
DEFAULT_PREFERENCE = "-1"