diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2005-01-01 22:16:28 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2005-01-01 22:16:28 +0000 |
commit | 88d78c401e6ee4a777388d5cdd174c980978b5c2 (patch) | |
tree | 2b5a6b468d3cfdb76a10eecac6670ca3a6bca876 /games/qix | |
parent | 9b7cdfcd6e84afc16e8d0d6510038c94a6a14b6a (diff) | |
download | ports-88d78c401e6ee4a777388d5cdd174c980978b5c2.tar.gz ports-88d78c401e6ee4a777388d5cdd174c980978b5c2.zip |
Notes
Diffstat (limited to 'games/qix')
-rw-r--r-- | games/qix/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/games/qix/Makefile b/games/qix/Makefile index 19139c016948..50bfd58c9437 100644 --- a/games/qix/Makefile +++ b/games/qix/Makefile @@ -16,6 +16,9 @@ COMMENT= The classic arcade game BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT} RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT} +.if defined(PACKAGE_BUILDING) +BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} +.endif .if defined(WITHOUT_X11) MAKE_ARGS= NO_X11=yes @@ -24,8 +27,8 @@ USE_X_PREFIX= yes PLIST= pkg-plist.x11 .endif -.if !defined(DISPLAY) || ${DISPLAY} == "" -IGNORE= Requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X. +.if (!defined(DISPLAY) || ${DISPLAY} == "") && !defined(PACKAGE_BUILDING) +IGNORE= requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X .endif MAN1= qix.1 |