summaryrefslogtreecommitdiffstats
path: root/games/qix
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2002-05-22 18:19:19 +0000
committerjmz <jmz@FreeBSD.org>2002-05-22 18:19:19 +0000
commit134b9a9c1eca7b53a8a8e236ff2efbe8f83f3b11 (patch)
treea20e71be0736a9c5c9538d489d3b8575fdb38c57 /games/qix
parent646aad6257ed5880a2dc7c0836afc8e0a88f435e (diff)
downloadFreeBSD-ports-134b9a9c1eca7b53a8a8e236ff2efbe8f83f3b11.zip
FreeBSD-ports-134b9a9c1eca7b53a8a8e236ff2efbe8f83f3b11.tar.gz
Don't build the port if $DISPLAY is not defined.
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 b533bdc..dfd7d07 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
OpenPOWER on IntegriCloud