From 88d78c401e6ee4a777388d5cdd174c980978b5c2 Mon Sep 17 00:00:00 2001 From: Kris Kennaway <kris@FreeBSD.org> Date: Sat, 1 Jan 2005 22:16:28 +0000 Subject: 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) --- x11/xgrab/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'x11/xgrab') diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile index 503a0f7c3ccf..a79ad5d67bb7 100644 --- a/x11/xgrab/Makefile +++ b/x11/xgrab/Makefile @@ -18,6 +18,9 @@ MAINTAINER= jmz@FreeBSD.org COMMENT= An X11 image grabber BUILD_DEPENDS= xrdb:${X_CLIENTS_PORT} +.if defined(PACKAGE_BUILDING) +BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} +.endif USE_X_PREFIX= yes USE_IMAKE= yes -- cgit v1.2.3