aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/py-matplotlib/Makefile5
-rw-r--r--x11-toolkits/erlgtk/Makefile9
-rw-r--r--x11/emu/Makefile10
3 files changed, 20 insertions, 4 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index da861a8f4065..c7fd3faf0893 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -23,6 +23,11 @@ BUILD_DEPENDS= ${PYNUMERIC} \
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+.if defined(PACKAGE_BUILDING)
+BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
+.endif
+
+BROKEN= Missing dependency
USE_PYTHON= 2.2+
USE_PYDISTUTILS= yes
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::
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