aboutsummaryrefslogtreecommitdiff
path: root/x11/xgrab
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xgrab')
-rw-r--r--x11/xgrab/Makefile3
1 files changed, 3 insertions, 0 deletions
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