aboutsummaryrefslogtreecommitdiff
path: root/games/qix
diff options
context:
space:
mode:
Diffstat (limited to 'games/qix')
-rw-r--r--games/qix/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/qix/Makefile b/games/qix/Makefile
index b533bdc19f16..dfd7d07fec63 100644
--- a/games/qix/Makefile
+++ b/games/qix/Makefile
@@ -26,6 +26,10 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
+.if !defined(DISPLAY) || ${DISPLAY} == ""
+BROKEN= "Requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X."
+.endif
+
MAN1= qix.1
FONTSDIR= lib/X11/fonts/local