aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/itk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-01-02 06:16:28 +0800
committerkris <kris@FreeBSD.org>2005-01-02 06:16:28 +0800
commit751e1620399057383b0e26c92d8634103ab0a8d9 (patch)
treeaae3c437c51dc321eb55c87e22dac96e2cbdd750 /x11-toolkits/itk
parent633c089ab5d4c53df41f1bed2ae3950afc792920 (diff)
downloadfreebsd-ports-gnome-751e1620399057383b0e26c92d8634103ab0a8d9.tar.gz
freebsd-ports-gnome-751e1620399057383b0e26c92d8634103ab0a8d9.tar.zst
freebsd-ports-gnome-751e1620399057383b0e26c92d8634103ab0a8d9.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)
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