summaryrefslogtreecommitdiff
path: root/print/teTeX
diff options
context:
space:
mode:
authorwiz <wiz>2006-01-13 17:56:43 +0000
committerwiz <wiz>2006-01-13 17:56:43 +0000
commitf7645fad819551777217162ec96e1544bc9d1b1c (patch)
treead74743170e202c3f4c42de56ef9c21c741c3aca /print/teTeX
parent05fb02aab16855b1c5fe737b988d61c8b37ce09f (diff)
downloadpkgsrc-f7645fad819551777217162ec96e1544bc9d1b1c.tar.gz
Handle packages that only accept teTeX2 similarly to ones
that only accept teTeX2; should fix ja-ptex-share bulk build.
Diffstat (limited to 'print/teTeX')
-rw-r--r--print/teTeX/module.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/teTeX/module.mk b/print/teTeX/module.mk
index 17e6a6202bd..d18d6632d2a 100644
--- a/print/teTeX/module.mk
+++ b/print/teTeX/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.10 2006/01/10 13:25:01 tonio Exp $
+# $NetBSD: module.mk,v 1.11 2006/01/13 17:56:43 wiz Exp $
#
# This Makefile fragment is intended to be included by packages that
# install TeX packages. It takes care of rebuilding the ls-R database
@@ -32,10 +32,12 @@ DEINSTALL_EXTRA_TMPL+= ../../print/teTeX/files/texmf.tmpl
PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/ls-R)?$$/ \
{ next; }
-# do not use tex.buildlink3.mk when the only accepted version is teTeX1, to
+# do not use tex.buildlink3.mk when the only accepted version is teTeX1 or teTeX2, to
# allow bulk build to create packages
-.if defined(TEX_ACCEPTED) && (${TEX_ACCEPTED} == "teTeX1")
+.if defined(TEX_ACCEPTED) && ${TEX_ACCEPTED} == "teTeX1"
.include "../../print/teTeX1-bin/buildlink3.mk"
+.elif defined(TEX_ACCEPTED) && ${TEX_ACCEPTED} == "teTeX2"
+.include "../../print/teTeX-bin/buildlink3.mk"
.else
.include "../../mk/tex.buildlink3.mk"
.endif