summaryrefslogtreecommitdiffstats
path: root/x11/emu
diff options
context:
space:
mode:
Diffstat (limited to 'x11/emu')
-rw-r--r--x11/emu/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/emu/Makefile b/x11/emu/Makefile
index dab584c..8af8b56 100644
--- a/x11/emu/Makefile
+++ b/x11/emu/Makefile
@@ -14,19 +14,21 @@ MASTER_SITE_SUBDIR= applications
MAINTAINER= me@FreeBSD.org
+USE_IMAKE= yes
+WRKSRC= ${WRKDIR}/emu
+
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS+= xrdb:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS+= xrdb:${PORTSDIR}/x11/XFree86-4-clients
+BUILD_DEPENDS+= xmkmf:${PORTSDIR}/x11/XFree86-4
+.else
+BUILD_DEPENDS+= xmkmf:${PORTSDIR}/x11/XFree86
.endif
.if !defined(DISPLAY) || ${DISPLAY} == ""
BROKEN= "Requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X."
.endif
-USE_IMAKE= yes
-WRKSRC= ${WRKDIR}/emu
MAN1= emu.1
pre-configure:
OpenPOWER on IntegriCloud