pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/teTeX Fix broken ".if" conditional which causes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d19eee18d66
branches:  trunk
changeset: 505911:1d19eee18d66
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Jan 09 10:12:11 2006 +0000

description:
Fix broken ".if" conditional which causes warnings if e.g. "pkg_chk -i"
was used.

diffstat:

 print/teTeX/module.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 91dc267a1caf -r 1d19eee18d66 print/teTeX/module.mk
--- a/print/teTeX/module.mk     Mon Jan 09 10:12:10 2006 +0000
+++ b/print/teTeX/module.mk     Mon Jan 09 10:12:11 2006 +0000
@@ -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 @@
 
 # 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"



Home | Main Index | Thread Index | Old Index