diff options
author | kris <kris@FreeBSD.org> | 2005-01-02 06:19:36 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2005-01-02 06:19:36 +0800 |
commit | afb061316e147c8be8e2d3a29090345fcbf5094e (patch) | |
tree | 100e5f97fd276c70b296cff83cf6c2801865f18a | |
parent | 751e1620399057383b0e26c92d8634103ab0a8d9 (diff) | |
download | freebsd-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)
-rw-r--r-- | math/py-matplotlib/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/erlgtk/Makefile | 9 | ||||
-rw-r--r-- | x11/emu/Makefile | 10 |
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 |