summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2002-05-22 18:16:39 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2002-05-22 18:16:39 +0000
commitc5016fb32f11c25aece8696182f7e1345db43a13 (patch)
treee71a29a3c24e5f4ba450104782086ad5dc235661 /x11
parentAdd MAINTAINER line. (diff)
Add a build dependency on xrdb.
Notes
Notes: svn path=/head/; revision=59717
Diffstat (limited to 'x11')
-rw-r--r--x11/xgrab/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile
index 5f84a91f39c0..5033816ecfd1 100644
--- a/x11/xgrab/Makefile
+++ b/x11/xgrab/Makefile
@@ -15,6 +15,13 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= jmz@FreeBSD.org
+USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
USE_IMAKE= yes
MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
@@ -27,4 +34,4 @@ BROKEN= "Requires an active X session (and DISPLAY variable) to run xrdb. Plea
MAN1= xgrab.1 xgrabsc.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>