diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2002-05-22 18:19:19 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2002-05-22 18:19:19 +0000 |
commit | e4bb6c66d7ce2cdfa07d690021d9456c68e3aecb (patch) | |
tree | ff697e77795dac14a395af1551889eb5057b705e | |
parent | Add a build dependency on xrdb. (diff) |
Don't build the port if $DISPLAY is not defined.
Notes
Notes:
svn path=/head/; revision=59718
-rw-r--r-- | games/qix/Makefile | 4 |
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 |