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)
This commit is contained in:
Kris Kennaway 2005-01-01 22:19:36 +00:00
parent 88d78c401e
commit 3ddfc30188
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125630
3 changed files with 20 additions and 4 deletions

View file

@ -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

View file

@ -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::

View file

@ -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