summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-28 17:54:20 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-28 17:54:20 +0000
commitae4dbe9cb8c02e021ee7905e0e6ef88ef56eb020 (patch)
tree3fae365fa6ef9ff75cb88afc0e6f5b60100cfc70
parentcc7cd454634a40d63619f0c70e2a34487aa0b46c (diff)
downloadpkgsrc-ae4dbe9cb8c02e021ee7905e0e6ef88ef56eb020.tar.gz
When MKFONTDIR is set, it is most likely used as well. Add a build time
dependency on it.
-rw-r--r--mk/fonts.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/fonts.mk b/mk/fonts.mk
index 3fab68bf1f7..b2ab1d02d95 100644
--- a/mk/fonts.mk
+++ b/mk/fonts.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fonts.mk,v 1.7 2005/12/05 22:07:07 rillig Exp $
+# $NetBSD: fonts.mk,v 1.8 2005/12/28 17:54:20 joerg Exp $
#
# This Makefile fragment is intended to be included by packages that install
# fonts (most of them in the fonts category). It takes care of updating the
@@ -53,6 +53,7 @@ FONTS_X11_DIRS+= ${FONTS_TYPE1_DIRS}
FILES_SUBST+= FONTS_X11="YES"
FILES_SUBST+= FONTS_X11_DIRS=${FONTS_X11_DIRS:Q}
FILES_SUBST+= MKFONTDIR="${X11BASE}/bin/mkfontdir"
+USE_TOOLS+= mkfontdir
.endif
.endif