summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-02-07 17:01:02 +0000
committertnn <tnn@pkgsrc.org>2008-02-07 17:01:02 +0000
commit45f396330c7a704f22db797af323a8ae75738059 (patch)
tree6f514911aa830e13da5a382d743bd5683f93cc2d /mk
parent9a5fda02885bb74ddc66230a79812c5fbe08e856 (diff)
downloadpkgsrc-45f396330c7a704f22db797af323a8ae75738059.tar.gz
Same as previous, but the line above. (Sigh)
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/replace.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 46e2f47a995..fa774415287 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -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 @@ _TOOLS.groff= groff nroff soelim tbl
. 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