summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-01-09 10:12:11 +0000
committertron <tron@pkgsrc.org>2006-01-09 10:12:11 +0000
commitb0693b0d5153e639127bd3cd99e2ca42b4f0f557 (patch)
tree064aa8c937814cf8c51e198fbf4d80d666ebb8d6 /print
parent6dff38580d66b3a689f2db8831b03a6de0c8dd10 (diff)
downloadpkgsrc-b0693b0d5153e639127bd3cd99e2ca42b4f0f557.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"