summaryrefslogtreecommitdiff
path: root/mk/fonts.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-28 17:54:20 +0000
committerjoerg <joerg>2005-12-28 17:54:20 +0000
commita7642798d9f767785b63a71adae29c36ce0714d4 (patch)
tree3fae365fa6ef9ff75cb88afc0e6f5b60100cfc70 /mk/fonts.mk
parent05ea4c5e4a453e7b18a36c94aca7c75cda60b9b4 (diff)
downloadpkgsrc-a7642798d9f767785b63a71adae29c36ce0714d4.tar.gz
When MKFONTDIR is set, it is most likely used as well. Add a build time
dependency on it.
Diffstat (limited to 'mk/fonts.mk')
-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