summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-fonts/bitmap-fonts/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-fonts/bitmap-fonts/Makefile b/x11-fonts/bitmap-fonts/Makefile
index 13d5b81c10dd..dd8bdc79f439 100644
--- a/x11-fonts/bitmap-fonts/Makefile
+++ b/x11-fonts/bitmap-fonts/Makefile
@@ -31,8 +31,10 @@ PLIST_SUB= FONTSDIR=${FONTSDIR}
.include <bsd.port.pre.mk>
-.if ${XFREE86_VERSION} == 4
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.if ${XFREE86_VERSION} == 3
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
+.elif ${XFREE86_VERSION} == 4
+RUN_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
.endif
do-build: