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
commit6bd3fa837828f098b1b4b3eb47a5d705100433f8 (patch)
tree8343013f3567f2f1fff5fdab27fc8f517b1a32a2 /print
parent3405bedb8cf1e70e7b7420f2c330c21daae2ac9b (diff)
downloadpkgsrc-6bd3fa837828f098b1b4b3eb47a5d705100433f8.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}"