aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XttXF86srv-common
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XttXF86srv-common')
-rw-r--r--x11-servers/XttXF86srv-common/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-servers/XttXF86srv-common/Makefile b/x11-servers/XttXF86srv-common/Makefile
index 0e0c0dd1cbf..933b6d4bfa9 100644
--- a/x11-servers/XttXF86srv-common/Makefile
+++ b/x11-servers/XttXF86srv-common/Makefile
@@ -58,6 +58,12 @@ DOCDIR= ${PREFIX}/share/doc/Xtt
PATCH_DIST_ARGS= -d ${WRKDIR} --forward --quiet -E ${PATCH_STRIP}
#PATCH_DIST_STRIP= -p1
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS+= xmkmf:${PORTSDIR}/devel/imake-4
+.endif
+
# ******************
# USE_SHARED_WRKSRC:
# All Xtt ports require many disk space. Imagen, X source code will extract
@@ -111,8 +117,6 @@ ALL_TARGET= libfont
ALL_TARGET= World
.endif
-.include <bsd.port.pre.mk>
-
pre-fetch:
.if defined(USE_SHARED_WRKSRC)
@( \