aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-01-01 22:19:36 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-01-01 22:19:36 +0000
commit3ddfc30188b669b373ed5496f078ce44fbb33db0 (patch)
tree70cbd9bd71e3d5f8e3f07c9392a0976dc1dc5382 /x11-toolkits
parent88d78c401e6ee4a777388d5cdd174c980978b5c2 (diff)
downloadports-3ddfc30188b669b373ed5496f078ce44fbb33db0.tar.gz
ports-3ddfc30188b669b373ed5496f078ce44fbb33db0.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)
Notes
Notes: svn path=/head/; revision=125630
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/erlgtk/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-toolkits/erlgtk/Makefile b/x11-toolkits/erlgtk/Makefile
index 90a5138cd06e..64e12e8f1b7f 100644
--- a/x11-toolkits/erlgtk/Makefile
+++ b/x11-toolkits/erlgtk/Makefile
@@ -18,6 +18,11 @@ COMMENT= GTK+ binding for Erlang/OTP
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
+.if defined(PACKAGE_BUILDING)
+BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
+.endif
+
+BROKEN= Missing dependency
PLIST_SUB= VERSION="${PORTVERSION}"
@@ -35,8 +40,8 @@ CONFIGURE_ARGS= --without-gnome --with-gtk=1.2
USE_GNOME= gtk12 gdkpixbuf
.endif
-.if !defined(DISPLAY)
-IGNORE= "must be built from within the X11 environment"
+.if !defined(DISPLAY) && !defined(PACKAGE_BUILDING)
+IGNORE= must be built from within the X11 environment
.endif
pre-everything::