summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-01-01 22:16:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-01-01 22:16:28 +0000
commit88d78c401e6ee4a777388d5cdd174c980978b5c2 (patch)
tree2b5a6b468d3cfdb76a10eecac6670ca3a6bca876 /games
parentRemove a patch that I have missed in the previous commit to fix the build. (diff)
Fix package building by adding a dependency on Xvfb in the
PACKAGE_BUILDING case. The package build scripts then DTRT and ensure this is running at build-time so a DISPLAY is available. Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=125629
Diffstat (limited to 'games')
-rw-r--r--games/qix/Makefile7
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