From b2202ccbcced4aed6cf93da40243a3428cdb2b91 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sun, 7 Jun 1998 01:08:05 +0000 Subject: [PATCH] Mark this port broken if DISPLAY is not set, it needs to run xrdb. --- x11/xgrab/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile index 1a41e1b14c73..9bec2ec06a26 100644 --- a/x11/xgrab/Makefile +++ b/x11/xgrab/Makefile @@ -3,7 +3,7 @@ # Date created: 27 February 1995 # Whom: jmz # -# $Id: Makefile,v 1.9 1997/03/06 05:18:55 asami Exp $ +# $Id: Makefile,v 1.10 1997/08/11 01:02:00 jmz Exp $ # DISTNAME= xgrabsc.2_41 @@ -18,9 +18,12 @@ MAINTAINER= jmz@FreeBSD.org USE_IMAKE= yes MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \ XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f -# Needs to actually *run* xrdb -#IS_INTERACTIVE= yes # "make depend" blows up XMKMF= xmkmf +# Needs to actually *run* xrdb +#IS_INTERACTIVE= yes +.if !defined(DISPLAY) +BROKEN= requires X session to run xrdb +.endif .include