pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Same as previous, but the line above. (Sigh)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01d75fbaa586
branches:  trunk
changeset: 538398:01d75fbaa586
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Feb 07 17:01:02 2008 +0000

description:
Same as previous, but the line above. (Sigh)

diffstat:

 mk/tools/replace.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r f33f84a54bec -r 01d75fbaa586 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Thu Feb 07 16:53:14 2008 +0000
+++ b/mk/tools/replace.mk       Thu Feb 07 17:01:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.206 2008/02/07 16:53:14 tnn Exp $
+# $NetBSD: replace.mk,v 1.207 2008/02/07 17:01:02 tnn Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -896,9 +896,10 @@
 .    if !empty(PKGPATH:Mtextproc/groff)
 MAKEFLAGS+=            TOOLS_IGNORE.${_t_}=
 .    elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS]) || \
-       !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS]) 
+       (defined(_TOOLS_USE_PKGSRC.groff) && \
+        !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS]))
 .      if defined(_TOOLS_USE_PKGSRC.groff) && \
-         !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS])
+        !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS])
 _TOOLS_USE_PKGSRC.${_t_}= yes
 .      endif
 TOOLS_DEPENDS.${_t_}?= groff>=1.19.2nb3:../../textproc/groff



Home | Main Index | Thread Index | Old Index