aboutsummaryrefslogtreecommitdiffstats
path: root/x11/emu
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-01-02 06:19:36 +0800
committerkris <kris@FreeBSD.org>2005-01-02 06:19:36 +0800
commitafb061316e147c8be8e2d3a29090345fcbf5094e (patch)
tree100e5f97fd276c70b296cff83cf6c2801865f18a /x11/emu
parent751e1620399057383b0e26c92d8634103ab0a8d9 (diff)
downloadfreebsd-ports-gnome-afb061316e147c8be8e2d3a29090345fcbf5094e.tar.gz
freebsd-ports-gnome-afb061316e147c8be8e2d3a29090345fcbf5094e.tar.zst
freebsd-ports-gnome-afb061316e147c8be8e2d3a29090345fcbf5094e.zip
Partially fix package building by adding a dependency on Xvfb in the
PACKAGE_BUILDING case. Mark BROKEN because this package is still missing a dependency. Approved by: portmgr (self)
Diffstat (limited to 'x11/emu')
-rw-r--r--x11/emu/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/emu/Makefile b/x11/emu/Makefile
index 409f3a900e59..63733ac3dfb1 100644
--- a/x11/emu/Makefile
+++ b/x11/emu/Makefile
@@ -15,11 +15,17 @@ MASTER_SITE_SUBDIR= applications
MAINTAINER= ports@FreeBSD.org
COMMENT= A terminal emulator for the X Window System
+.if defined(PACKAGE_BUILDING)
+BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
+.endif
+
+BROKEN= Missing dependency
+
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/emu
-.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= emu.1