summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-11-23 11:21:46 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-11-23 11:21:46 +0100
commit93341a451ead1c9cab329d97d912f7a4cbc4a02f (patch)
tree05d001a4a7ffeef54eea0de7917fa608aac2256a /package
parent5bb205b8e2d1638ea75002a187968ea4c263d19f (diff)
magiccube4d: needs C++ and X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/games/magiccube4d/Config.in5
-rw-r--r--package/games/magiccube4d/magiccube4d.mk1
2 files changed, 6 insertions, 0 deletions
diff --git a/package/games/magiccube4d/Config.in b/package/games/magiccube4d/Config.in
index ba4bceb01..871c3c76b 100644
--- a/package/games/magiccube4d/Config.in
+++ b/package/games/magiccube4d/Config.in
@@ -1,6 +1,11 @@
config BR2_PACKAGE_MAGICCUBE4D
bool "magiccube4d"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_XORG7
help
Another rubiks cube-like game in 4D
http://avr32linux.org/twiki/bin/viewfile/Main
+
+comment "magiccube4d requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_XORG7
diff --git a/package/games/magiccube4d/magiccube4d.mk b/package/games/magiccube4d/magiccube4d.mk
index a92ffd265..20b42317b 100644
--- a/package/games/magiccube4d/magiccube4d.mk
+++ b/package/games/magiccube4d/magiccube4d.mk
@@ -9,6 +9,7 @@ MAGICCUBE4D_SITE = http://avr32linux.org/twiki/pub/Main/MagicCube4D
MAGICCUBE4D_INSTALL_STAGING = NO
MAGICCUBE4D_INSTALL_TARGET = YES
MAGICCUBE4D_INSTALL_TARGET_OPT = GAMESDIR=$(TARGET_DIR)/usr/games install
+MAGICCUBE4D_DEPENDENCIES = xserver_xorg-server
$(eval $(call AUTOTARGETS,package/games,magiccube4d))