summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-20 18:22:50 +0000
committerminskim <minskim@pkgsrc.org>2005-11-20 18:22:50 +0000
commit21521bc94293c28414b4a36e0ac1bdb0bae4b9e1 (patch)
tree8343013f3567f2f1fff5fdab27fc8f517b1a32a2 /print
parent6d443613f68b8ae99f182ede8fd7803fada7e83f (diff)
downloadpkgsrc-21521bc94293c28414b4a36e0ac1bdb0bae4b9e1.tar.gz
Font map handling requires teTeX-bin>=3.0nb4. Specify the dependency
in teTeX/module.mk, rather than individual packages.
Diffstat (limited to 'print')
-rw-r--r--print/teTeX/module.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/print/teTeX/module.mk b/print/teTeX/module.mk
index c4aafb98b09..b34ab348bd3 100644
--- a/print/teTeX/module.mk
+++ b/print/teTeX/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.4 2005/11/17 00:48:07 minskim Exp $
+# $NetBSD: module.mk,v 1.5 2005/11/20 18:22:50 minskim Exp $
#
# This Makefile fragment is intended to be included by packages that
# install TeX packages. It takes care of rebuilding the ls-R database
@@ -18,6 +18,10 @@ TEX_PACKAGE_MK= # defined
TEXMFDIRS?= ${PKG_LOCALTEXMFPREFIX}
TEX_FONTMAPS?= # empty
+.if !empty(TEX_FONTMAPS)
+BUILDLINK_DEPENDS.teTeX-bin+= teTeX-bin>=3.0nb4
+.endif
+
USE_PKGINSTALL= yes
FILES_SUBST+= MKTEXLSR="${LOCALBASE}/bin/mktexlsr"
FILES_SUBST+= TEXMFDIRS="${TEXMFDIRS}"