summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortron <tron>2006-01-09 10:12:11 +0000
committertron <tron>2006-01-09 10:12:11 +0000
commitd690bdffe82a9e8a4bf6eb3a0f4b29ab92251019 (patch)
tree064aa8c937814cf8c51e198fbf4d80d666ebb8d6 /print
parent0318376c6556fcfd5187418e3647bc4e5dff9427 (diff)
downloadpkgsrc-d690bdffe82a9e8a4bf6eb3a0f4b29ab92251019.tar.gz
Fix broken ".if" conditional which causes warnings if e.g. "pkg_chk -i"
was used.
Diffstat (limited to 'print')
-rw-r--r--print/teTeX/module.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/teTeX/module.mk b/print/teTeX/module.mk
index 7dc8d834887..5f7f1bff742 100644
--- a/print/teTeX/module.mk
+++ b/print/teTeX/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.8 2006/01/08 14:13:48 tonio Exp $
+# $NetBSD: module.mk,v 1.9 2006/01/09 10:12:11 tron Exp $
#
# This Makefile fragment is intended to be included by packages that
# install TeX packages. It takes care of rebuilding the ls-R database
@@ -34,7 +34,7 @@ PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\
# do not use tex.buildlink3.mk when the only accepted version is teTeX1, to
# allow bulk build to create packages
-.if ${TEX_ACCEPTED} == "teTeX1"
+.if defined(TEX_ACCEPTED) && ${TEX_ACCEPTED} == "teTeX1"
.include "../../print/teTeX1-bin/buildlink3.mk"
.else
.include "../../mk/tex.buildlink3.mk"