summaryrefslogtreecommitdiffstats
path: root/package/games
diff options
context:
space:
mode:
Diffstat (limited to 'package/games')
-rw-r--r--package/games/rubix/Config.in1
-rw-r--r--package/games/rubix/rubix.mk2
2 files changed, 3 insertions, 0 deletions
diff --git a/package/games/rubix/Config.in b/package/games/rubix/Config.in
index 46dc5ec4c..6da8c71df 100644
--- a/package/games/rubix/Config.in
+++ b/package/games/rubix/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_RUBIX
bool "rubix"
+ depends on BR2_PACKAGE_XORG7
help
A 3D rubiks cube game for X
diff --git a/package/games/rubix/rubix.mk b/package/games/rubix/rubix.mk
index d81780a0a..308e94be5 100644
--- a/package/games/rubix/rubix.mk
+++ b/package/games/rubix/rubix.mk
@@ -12,5 +12,7 @@ RUBIX_INSTALL_TARGET_OPT = GAMESDIR=$(TARGET_DIR)/usr/games install
RUBIX_MAKE_OPT = CC=$(TARGET_CC) XINC="-I$(STAGING_DIR)/usr/include/X11" XLIB="-L$(STAGING_DIR)/usr/lib -lX11"
+RUBIX_DEPENDENCIES = xserver_xorg-server
+
$(eval $(call AUTOTARGETS,package/games,rubix))