diff --git a/x11-fonts/bitmap-fonts/Makefile b/x11-fonts/bitmap-fonts/Makefile index a37ce1accb77..1179e47d8adb 100644 --- a/x11-fonts/bitmap-fonts/Makefile +++ b/x11-fonts/bitmap-fonts/Makefile @@ -30,6 +30,12 @@ USE_X_PREFIX= yes PLIST_SUB= FONTSDIR=${FONTSDIR} +.include + +.if ${XFREE86_VERSION} == 4 +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients +.endif + do-build: @(cd ${WRKSRC}; \ for i in ${BITMAP_FONTS} ; do \ @@ -57,4 +63,4 @@ post-install: @${SETENV} PKG_PREFIX=${X11BASE} \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.include +.include