aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/itk
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 /x11-toolkits/itk
parent9b7cdfcd6e84afc16e8d0d6510038c94a6a14b6a (diff)
downloadports-88d78c401e6ee4a777388d5cdd174c980978b5c2.tar.gz
ports-88d78c401e6ee4a777388d5cdd174c980978b5c2.zip
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 'x11-toolkits/itk')
-rw-r--r--x11-toolkits/itk/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile
index 80d506aced62..d537d6317940 100644
--- a/x11-toolkits/itk/Makefile
+++ b/x11-toolkits/itk/Makefile
@@ -18,6 +18,9 @@ COMMENT= [incr Tk] (A.K.A. "itk")
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 \
itcl${MAJOR}${MINOR}.1:${PORTSDIR}/lang/itcl
+.if defined(PACKAGE_BUILDING)
+BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
+.endif
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/itcl${MAJOR}.${MINOR}/itk