aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XttXF86srv-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XttXF86srv-common/Makefile')
-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 0e0c0dd1cbf1..933b6d4bfa9d 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)
@( \