summaryrefslogtreecommitdiffstats
path: root/package/games
diff options
context:
space:
mode:
Diffstat (limited to 'package/games')
-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))