From 3d8b62452e5afb06aa2e0147cdeb0846b6b85730 Mon Sep 17 00:00:00 2001 From: asami Date: Wed, 6 Sep 2000 02:00:29 +0000 Subject: Add BUILD_DEPENDS to devel/imake-4 -- USE_X_PREFIX does not imply the existence of xmkmf in XFree86-4. --- x11-servers/XttXF86srv-common/Makefile | 8 ++++++-- 1 file 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 + +.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 - pre-fetch: .if defined(USE_SHARED_WRKSRC) @( \ -- cgit